| @@ 959-963 (lines=5) @@ | ||
| 956 | } else { |
|
| 957 | $limit = 0; |
|
| 958 | } |
|
| 959 | if (!empty($options['start'])) { |
|
| 960 | $start = (int) $options['start']; |
|
| 961 | } else { |
|
| 962 | $start = 0; |
|
| 963 | } |
|
| 964 | if ($limit || $start) { |
|
| 965 | $query->limit($start, $limit); |
|
| 966 | } |
|
| @@ 1250-1254 (lines=5) @@ | ||
| 1247 | } else { |
|
| 1248 | $limit = 0; |
|
| 1249 | } |
|
| 1250 | if (!empty($options['start'])) { |
|
| 1251 | $start = (int) $options['start']; |
|
| 1252 | } else { |
|
| 1253 | $start = 0; |
|
| 1254 | } |
|
| 1255 | if ($limit || $start) { |
|
| 1256 | $query->limit($start, $limit); |
|
| 1257 | } |
|