Update LazyCriteriaCollection.php
Fixed issue where count = 0
This commit is contained in:
parent
8babb77d37
commit
d6c727dcc1
@ -75,7 +75,7 @@ class LazyCriteriaCollection extends AbstractLazyCollection implements Selectabl
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Return cached result in case count query was already executed
|
// Return cached result in case count query was already executed
|
||||||
if ($this->count) {
|
if ($this->count !== null) {
|
||||||
return $this->count;
|
return $this->count;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user