Code Duplication    Length = 5-5 lines in 2 locations

system/Inji/Model.php 2 locations

@@ 836-840 (lines=5) @@
833
    else {
834
      $limit = 0;
835
    }
836
    if (!empty($options['start']))
837
      $start = (int) $options['start'];
838
    else {
839
      $start = 0;
840
    }
841
    if ($limit || $start) {
842
      $query->limit($start, $limit);
843
    }
@@ 1125-1129 (lines=5) @@
1122
    else {
1123
      $limit = 0;
1124
    }
1125
    if (!empty($options['start']))
1126
      $start = (int) $options['start'];
1127
    else {
1128
      $start = 0;
1129
    }
1130
    if ($limit || $start) {
1131
      $query->limit($start, $limit);
1132
    }