FIX #13896
This commit is contained in:
parent
02b40ae8f6
commit
672ea60ffd
@ -440,7 +440,7 @@ class MyObject extends CommonObject
|
|||||||
if ($resql) {
|
if ($resql) {
|
||||||
$num = $this->db->num_rows($resql);
|
$num = $this->db->num_rows($resql);
|
||||||
$i = 0;
|
$i = 0;
|
||||||
while ($i < min($limit, $num))
|
while ($i < ($limit ? min($limit, $num) : $num))
|
||||||
{
|
{
|
||||||
$obj = $this->db->fetch_object($resql);
|
$obj = $this->db->fetch_object($resql);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user