Code Duplication    Length = 5-5 lines in 2 locations

system/Inji/Model.php 2 locations

@@ 729-733 (lines=5) @@
726
        else {
727
            $limit = 0;
728
        }
729
        if (!empty($options['start']))
730
            $start = (int) $options['start'];
731
        else {
732
            $start = 0;
733
        }
734
        if ($limit || $start) {
735
            App::$cur->db->limit($start, $limit);
736
        }
@@ 998-1002 (lines=5) @@
995
        else {
996
            $limit = 0;
997
        }
998
        if (!empty($options['start']))
999
            $start = (int) $options['start'];
1000
        else {
1001
            $start = 0;
1002
        }
1003
        if ($limit || $start) {
1004
            App::$cur->db->limit($start, $limit);
1005
        }