diff --git a/Database/Pagination.php b/Database/Pagination.php index 5963a215..e6fccb41 100644 --- a/Database/Pagination.php +++ b/Database/Pagination.php @@ -107,7 +107,7 @@ class Pagination extends Component */ public function plunk($param = []) { - if ($this->_length >= $this->_max) { + if ($this->_max > 0 && $this->_length >= $this->_max) { return; } [$length, $data] = $this->get();