Code Duplication    Length = 5-5 lines in 2 locations

system/Inji/Model.php 2 locations

@@ 947-951 (lines=5) @@
944
    else {
945
      $limit = 0;
946
    }
947
    if (!empty($options['start']))
948
      $start = (int) $options['start'];
949
    else {
950
      $start = 0;
951
    }
952
    if ($limit || $start) {
953
      $query->limit($start, $limit);
954
    }
@@ 1236-1240 (lines=5) @@
1233
    else {
1234
      $limit = 0;
1235
    }
1236
    if (!empty($options['start']))
1237
      $start = (int) $options['start'];
1238
    else {
1239
      $start = 0;
1240
    }
1241
    if ($limit || $start) {
1242
      $query->limit($start, $limit);
1243
    }