Code Duplication    Length = 5-9 lines in 2 locations

main/inc/lib/pclzip/pclzip.lib.php 2 locations

@@ 393-401 (lines=9) @@
390
    }
391
392
    // ----- Reformat the string list
393
    if (sizeof($v_string_list) != 0) {
394
      foreach ($v_string_list as $v_string) {
395
        if ($v_string != '') {
396
          $v_att_list[][PCLZIP_ATT_FILE_NAME] = $v_string;
397
        }
398
        else {
399
        }
400
      }
401
    }
402
403
    // ----- For each file in the list check the attributes
404
    $v_supported_attributes
@@ 580-584 (lines=5) @@
577
    }
578
579
    // ----- Reformat the string list
580
    if (sizeof($v_string_list) != 0) {
581
      foreach ($v_string_list as $v_string) {
582
        $v_att_list[][PCLZIP_ATT_FILE_NAME] = $v_string;
583
      }
584
    }
585
586
    // ----- For each file in the list check the attributes
587
    $v_supported_attributes