Code Duplication    Length = 9-9 lines in 2 locations

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

@@ 412-420 (lines=9) @@
409
             ,PCLZIP_ATT_FILE_CONTENT => 'optional'
410
             ,PCLZIP_ATT_FILE_COMMENT => 'optional'
411
						);
412
    foreach ($v_att_list as $v_entry) {
413
      $v_result = $this->privFileDescrParseAtt($v_entry,
414
                                               $v_filedescr_list[],
415
                                               $v_options,
416
                                               $v_supported_attributes);
417
      if ($v_result != 1) {
418
        return 0;
419
      }
420
    }
421
422
    // ----- Expand the filelist (expand directories)
423
    $v_result = $this->privFileDescrExpand($v_filedescr_list, $v_options);
@@ 595-603 (lines=9) @@
592
             ,PCLZIP_ATT_FILE_CONTENT => 'optional'
593
             ,PCLZIP_ATT_FILE_COMMENT => 'optional'
594
						);
595
    foreach ($v_att_list as $v_entry) {
596
      $v_result = $this->privFileDescrParseAtt($v_entry,
597
                                               $v_filedescr_list[],
598
                                               $v_options,
599
                                               $v_supported_attributes);
600
      if ($v_result != 1) {
601
        return 0;
602
      }
603
    }
604
605
    // ----- Expand the filelist (expand directories)
606
    $v_result = $this->privFileDescrExpand($v_filedescr_list, $v_options);