From 2f75af581b6cce894f71b9522b288a11ebf19b42 Mon Sep 17 00:00:00 2001 From: Stefan Brand Date: Thu, 3 Feb 2022 17:19:15 +0100 Subject: [PATCH] Add Sorting Support - Fix Condition --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))