Add Sorting Support - Fix Condition

This commit is contained in:
seiichiro 2022-02-03 17:19:15 +01:00
parent d6356648cd
commit 2f75af581b

View file

@ -82,7 +82,7 @@ if (isset($_GET['f'])) {
// Sort and Reverse Filelist
natcasesort($files);
if ($sort = 1)
if ($sort == 1)
$files = array_reverse($files);
if (!empty($dirs))