| @@ 1656-1663 (lines=8) @@ | ||
| 1653 | ||
| 1654 | $checked_files_list = array(); |
|
| 1655 | $checked_array_list = array(); |
|
| 1656 | foreach ($files_list as $idx => $file) { |
|
| 1657 | if (!empty($file[0])) { |
|
| 1658 | if (!in_array($file[0], $checked_files_list)) { |
|
| 1659 | $checked_files_list[] = $files_list[$idx][0]; |
|
| 1660 | $checked_array_list[] = $files_list[$idx]; |
|
| 1661 | } |
|
| 1662 | } |
|
| 1663 | } |
|
| 1664 | return $checked_array_list; |
|
| 1665 | } |
|
| 1666 | ||
| @@ 2391-2398 (lines=8) @@ | ||
| 2388 | $checked_array_list = array(); |
|
| 2389 | ||
| 2390 | if (count($files_list) > 0) { |
|
| 2391 | foreach ($files_list as $idx => $file) { |
|
| 2392 | if (!empty($file[0])) { |
|
| 2393 | if (!in_array($file[0], $checked_files_list)) { |
|
| 2394 | $checked_files_list[] = $files_list[$idx][0]; |
|
| 2395 | $checked_array_list[] = $files_list[$idx]; |
|
| 2396 | } |
|
| 2397 | } |
|
| 2398 | } |
|
| 2399 | } |
|
| 2400 | return $checked_array_list; |
|
| 2401 | } |
|