| @@ 953-957 (lines=5) @@ | ||
| 950 | } else { |
|
| 951 | $limit = 0; |
|
| 952 | } |
|
| 953 | if (!empty($options['start'])) { |
|
| 954 | $start = (int) $options['start']; |
|
| 955 | } else { |
|
| 956 | $start = 0; |
|
| 957 | } |
|
| 958 | if ($limit || $start) { |
|
| 959 | $query->limit($start, $limit); |
|
| 960 | } |
|
| @@ 1244-1248 (lines=5) @@ | ||
| 1241 | } else { |
|
| 1242 | $limit = 0; |
|
| 1243 | } |
|
| 1244 | if (!empty($options['start'])) { |
|
| 1245 | $start = (int) $options['start']; |
|
| 1246 | } else { |
|
| 1247 | $start = 0; |
|
| 1248 | } |
|
| 1249 | if ($limit || $start) { |
|
| 1250 | $query->limit($start, $limit); |
|
| 1251 | } |
|