@@ 969-973 (lines=5) @@ | ||
966 | } else { |
|
967 | $limit = 0; |
|
968 | } |
|
969 | if (!empty($options['start'])) { |
|
970 | $start = (int) $options['start']; |
|
971 | } else { |
|
972 | $start = 0; |
|
973 | } |
|
974 | if ($limit || $start) { |
|
975 | $query->limit($start, $limit); |
|
976 | } |
|
@@ 1263-1267 (lines=5) @@ | ||
1260 | } else { |
|
1261 | $limit = 0; |
|
1262 | } |
|
1263 | if (!empty($options['start'])) { |
|
1264 | $start = (int) $options['start']; |
|
1265 | } else { |
|
1266 | $start = 0; |
|
1267 | } |
|
1268 | if ($limit || $start) { |
|
1269 | $query->limit($start, $limit); |
|
1270 | } |