| @@ 792-796 (lines=5) @@ | ||
| 789 | else { |
|
| 790 | $limit = 0; |
|
| 791 | } |
|
| 792 | if (!empty($options['start'])) |
|
| 793 | $start = (int) $options['start']; |
|
| 794 | else { |
|
| 795 | $start = 0; |
|
| 796 | } |
|
| 797 | if ($limit || $start) { |
|
| 798 | $query->limit($start, $limit); |
|
| 799 | } |
|
| @@ 1073-1077 (lines=5) @@ | ||
| 1070 | else { |
|
| 1071 | $limit = 0; |
|
| 1072 | } |
|
| 1073 | if (!empty($options['start'])) |
|
| 1074 | $start = (int) $options['start']; |
|
| 1075 | else { |
|
| 1076 | $start = 0; |
|
| 1077 | } |
|
| 1078 | if ($limit || $start) { |
|
| 1079 | $query->limit($start, $limit); |
|
| 1080 | } |
|