| @@ 1654-1661 (lines=8) @@ | ||
| 1651 | ||
| 1652 | $checked_files_list = array(); |
|
| 1653 | $checked_array_list = array(); |
|
| 1654 | foreach ($files_list as $idx => $file) { |
|
| 1655 | if (!empty($file[0])) { |
|
| 1656 | if (!in_array($file[0], $checked_files_list)) { |
|
| 1657 | $checked_files_list[] = $files_list[$idx][0]; |
|
| 1658 | $checked_array_list[] = $files_list[$idx]; |
|
| 1659 | } |
|
| 1660 | } |
|
| 1661 | } |
|
| 1662 | return $checked_array_list; |
|
| 1663 | } |
|
| 1664 | ||
| @@ 2430-2437 (lines=8) @@ | ||
| 2427 | $checked_array_list = array(); |
|
| 2428 | ||
| 2429 | if (count($files_list) > 0) { |
|
| 2430 | foreach ($files_list as $idx => $file) { |
|
| 2431 | if (!empty($file[0])) { |
|
| 2432 | if (!in_array($file[0], $checked_files_list)) { |
|
| 2433 | $checked_files_list[] = $files_list[$idx][0]; |
|
| 2434 | $checked_array_list[] = $files_list[$idx]; |
|
| 2435 | } |
|
| 2436 | } |
|
| 2437 | } |
|
| 2438 | } |
|
| 2439 | ||
| 2440 | return $checked_array_list; |
|