From e837971e3d86681ab564138d955ba23fbf784d69 Mon Sep 17 00:00:00 2001 From: s-martin Date: Mon, 1 Jun 2020 15:23:11 +0200 Subject: [PATCH] Fix warning in usort --- htdocs/inc.viewFolderTree.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/inc.viewFolderTree.php b/htdocs/inc.viewFolderTree.php index 1f1268ea3..30478c09c 100755 --- a/htdocs/inc.viewFolderTree.php +++ b/htdocs/inc.viewFolderTree.php @@ -178,7 +178,7 @@ $temp['count_subdirs'] = count($containingfolders); $temp['count_files'] = count($containingfiles); $temp['count_audioFiles'] = count($containingaudiofiles); - usort($containingfolders); + usort($containingfolders, 'strnatcasecmp'); $temp['subdirs'] = $containingfolders; usort($containingfiles, 'strnatcasecmp'); $temp['files'] = $containingfiles;