| @@ 983-987 (lines=5) @@ | ||
| 980 | } else { |
|
| 981 | $limit = 0; |
|
| 982 | } |
|
| 983 | if (!empty($options['start'])) { |
|
| 984 | $start = (int) $options['start']; |
|
| 985 | } else { |
|
| 986 | $start = 0; |
|
| 987 | } |
|
| 988 | if ($limit || $start) { |
|
| 989 | $query->limit($start, $limit); |
|
| 990 | } |
|
| @@ 1288-1292 (lines=5) @@ | ||
| 1285 | } else { |
|
| 1286 | $limit = 0; |
|
| 1287 | } |
|
| 1288 | if (!empty($options['start'])) { |
|
| 1289 | $start = (int) $options['start']; |
|
| 1290 | } else { |
|
| 1291 | $start = 0; |
|
| 1292 | } |
|
| 1293 | if ($limit || $start) { |
|
| 1294 | $query->limit($start, $limit); |
|
| 1295 | } |
|