| @@ 1004-1008 (lines=5) @@ | ||
| 1001 | } else { |
|
| 1002 | $limit = 0; |
|
| 1003 | } |
|
| 1004 | if (!empty($options['start'])) { |
|
| 1005 | $start = (int)$options['start']; |
|
| 1006 | } else { |
|
| 1007 | $start = 0; |
|
| 1008 | } |
|
| 1009 | if ($limit || $start) { |
|
| 1010 | $query->limit($start, $limit); |
|
| 1011 | } |
|
| @@ 1308-1312 (lines=5) @@ | ||
| 1305 | } else { |
|
| 1306 | $limit = 0; |
|
| 1307 | } |
|
| 1308 | if (!empty($options['start'])) { |
|
| 1309 | $start = (int)$options['start']; |
|
| 1310 | } else { |
|
| 1311 | $start = 0; |
|
| 1312 | } |
|
| 1313 | if ($limit || $start) { |
|
| 1314 | $query->limit($start, $limit); |
|
| 1315 | } |
|