| @@ 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 | } |
|
| @@ 1035-1039 (lines=5) @@ | ||
| 1032 | else { |
|
| 1033 | $limit = 0; |
|
| 1034 | } |
|
| 1035 | if (!empty($options['start'])) |
|
| 1036 | $start = (int) $options['start']; |
|
| 1037 | else { |
|
| 1038 | $start = 0; |
|
| 1039 | } |
|
| 1040 | if ($limit || $start) { |
|
| 1041 | $query->limit($start, $limit); |
|
| 1042 | } |
|