| @@ 960-964 (lines=5) @@ | ||
| 957 | } else { |
|
| 958 | $limit = 0; |
|
| 959 | } |
|
| 960 | if (!empty($options['start'])) { |
|
| 961 | $start = (int) $options['start']; |
|
| 962 | } else { |
|
| 963 | $start = 0; |
|
| 964 | } |
|
| 965 | if ($limit || $start) { |
|
| 966 | $query->limit($start, $limit); |
|
| 967 | } |
|
| @@ 1264-1268 (lines=5) @@ | ||
| 1261 | } else { |
|
| 1262 | $limit = 0; |
|
| 1263 | } |
|
| 1264 | if (!empty($options['start'])) { |
|
| 1265 | $start = (int) $options['start']; |
|
| 1266 | } else { |
|
| 1267 | $start = 0; |
|
| 1268 | } |
|
| 1269 | if ($limit || $start) { |
|
| 1270 | $query->limit($start, $limit); |
|
| 1271 | } |
|