| @@ 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 | ||
| @@ 2365-2372 (lines=8) @@ | ||
| 2362 | $checked_array_list = array(); |
|
| 2363 | ||
| 2364 | if (count($files_list) > 0) { |
|
| 2365 | foreach ($files_list as $idx => $file) { |
|
| 2366 | if (!empty($file[0])) { |
|
| 2367 | if (!in_array($file[0], $checked_files_list)) { |
|
| 2368 | $checked_files_list[] = $files_list[$idx][0]; |
|
| 2369 | $checked_array_list[] = $files_list[$idx]; |
|
| 2370 | } |
|
| 2371 | } |
|
| 2372 | } |
|
| 2373 | } |
|
| 2374 | return $checked_array_list; |
|
| 2375 | } |
|