| @@ 761-765 (lines=5) @@ | ||
| 758 | else { |
|
| 759 | $limit = 0; |
|
| 760 | } |
|
| 761 | if (!empty($options['start'])) |
|
| 762 | $start = (int) $options['start']; |
|
| 763 | else { |
|
| 764 | $start = 0; |
|
| 765 | } |
|
| 766 | if ($limit || $start) { |
|
| 767 | $query->limit($start, $limit); |
|
| 768 | } |
|
| @@ 1034-1038 (lines=5) @@ | ||
| 1031 | else { |
|
| 1032 | $limit = 0; |
|
| 1033 | } |
|
| 1034 | if (!empty($options['start'])) |
|
| 1035 | $start = (int) $options['start']; |
|
| 1036 | else { |
|
| 1037 | $start = 0; |
|
| 1038 | } |
|
| 1039 | if ($limit || $start) { |
|
| 1040 | $query->limit($start, $limit); |
|
| 1041 | } |
|