diff --git a/index.php b/index.php index efd8d0e..e130b19 100644 --- a/index.php +++ b/index.php @@ -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))