aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/entities.php')
-rw-r--r--engine/lib/entities.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 987328adc..88cf3e3a7 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -1969,9 +1969,8 @@ $count = false, $site_guid = 0, $container_guid = null, $timelower = 0, $timeupp
$options['order_by'] = $order_by;
}
- if ($limit) {
- $options['limit'] = $limit;
- }
+ // need to pass 0 for all option
+ $options['limit'] = $limit;
if ($offset) {
$options['offset'] = $offset;