Code Duplication    Length = 5-5 lines in 2 locations

system/Inji/Model.php 2 locations

@@ 956-960 (lines=5) @@
953
        } else {
954
            $limit = 0;
955
        }
956
        if (!empty($options['start'])) {
957
            $start = (int) $options['start'];
958
        } else {
959
            $start = 0;
960
        }
961
        if ($limit || $start) {
962
            $query->limit($start, $limit);
963
        }
@@ 1247-1251 (lines=5) @@
1244
        } else {
1245
            $limit = 0;
1246
        }
1247
        if (!empty($options['start'])) {
1248
            $start = (int) $options['start'];
1249
        } else {
1250
            $start = 0;
1251
        }
1252
        if ($limit || $start) {
1253
            $query->limit($start, $limit);
1254
        }