Removed warning

Removed warning when sorting a directory with both files and
subdirectories.
This commit is contained in:
Sebastien SAUVAGE 2013-07-27 23:50:06 +02:00
parent f3bd1b70fb
commit 0cb8716530
1 changed files with 2 additions and 2 deletions

View File

@ -285,8 +285,8 @@ if (sizeof($files) > 0)
$date[$key] = strtolower($row['date']);
$size[$key] = strtolower($row['size']);
}
if (strtoupper($sortdir_files) == "DESC") array_multisort($$sorting_files, SORT_DESC, $name, SORT_ASC, $files);
else array_multisort($$sorting_files, SORT_ASC, $name, SORT_ASC, $files);
if (strtoupper($sortdir_files) == "DESC") @array_multisort($$sorting_files, SORT_DESC, $name, SORT_ASC, $files);
else @array_multisort($$sorting_files, SORT_ASC, $name, SORT_ASC, $files);
}
//-----------------------