Removed warning
Removed warning when sorting a directory with both files and subdirectories.
This commit is contained in:
parent
f3bd1b70fb
commit
0cb8716530
1 changed files with 2 additions and 2 deletions
|
@ -285,8 +285,8 @@ if (sizeof($files) > 0)
|
||||||
$date[$key] = strtolower($row['date']);
|
$date[$key] = strtolower($row['date']);
|
||||||
$size[$key] = strtolower($row['size']);
|
$size[$key] = strtolower($row['size']);
|
||||||
}
|
}
|
||||||
if (strtoupper($sortdir_files) == "DESC") array_multisort($$sorting_files, SORT_DESC, $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);
|
else @array_multisort($$sorting_files, SORT_ASC, $name, SORT_ASC, $files);
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------
|
//-----------------------
|
||||||
|
|
Loading…
Reference in a new issue