| @@ 762-766 (lines=5) @@ | ||
| 759 | else { |
|
| 760 | $limit = 0; |
|
| 761 | } |
|
| 762 | if (!empty($options['start'])) |
|
| 763 | $start = (int) $options['start']; |
|
| 764 | else { |
|
| 765 | $start = 0; |
|
| 766 | } |
|
| 767 | if ($limit || $start) { |
|
| 768 | $query->limit($start, $limit); |
|
| 769 | } |
|
| @@ 1045-1049 (lines=5) @@ | ||
| 1042 | else { |
|
| 1043 | $limit = 0; |
|
| 1044 | } |
|
| 1045 | if (!empty($options['start'])) |
|
| 1046 | $start = (int) $options['start']; |
|
| 1047 | else { |
|
| 1048 | $start = 0; |
|
| 1049 | } |
|
| 1050 | if ($limit || $start) { |
|
| 1051 | $query->limit($start, $limit); |
|
| 1052 | } |
|