| @@ 748-752 (lines=5) @@ | ||
| 745 | else { |
|
| 746 | $limit = 0; |
|
| 747 | } |
|
| 748 | if (!empty($options['start'])) |
|
| 749 | $start = (int) $options['start']; |
|
| 750 | else { |
|
| 751 | $start = 0; |
|
| 752 | } |
|
| 753 | if ($limit || $start) { |
|
| 754 | App::$cur->db->limit($start, $limit); |
|
| 755 | } |
|
| @@ 1017-1021 (lines=5) @@ | ||
| 1014 | else { |
|
| 1015 | $limit = 0; |
|
| 1016 | } |
|
| 1017 | if (!empty($options['start'])) |
|
| 1018 | $start = (int) $options['start']; |
|
| 1019 | else { |
|
| 1020 | $start = 0; |
|
| 1021 | } |
|
| 1022 | if ($limit || $start) { |
|
| 1023 | App::$cur->db->limit($start, $limit); |
|
| 1024 | } |
|