Skip to content

Commit 219d3a8

Browse files
author
Colin Yang
committed
Back - Fixed DbSaeKV.getAll exports max 100 items
1 parent 256c7cd commit 219d3a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/class/db/SaeKV.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public function key() {
150150
return ($this->page - 1) * 100 + $this->position;
151151
}
152152
public function next() {
153-
if ($this->position >= 0 && $this->position < count($this->currentValue)) {
153+
if ($this->position >= 0 && $this->position + 1 < count($this->currentValue)) {
154154
$this->position ++;
155155
} else {
156156
$this->page ++;

0 commit comments

Comments
 (0)