Skip to content

Commit

Permalink
Merge pull request #993 from MiczFlor/usort-fix
Browse files Browse the repository at this point in the history
Fix warning in usort
  • Loading branch information
MiczFlor authored Jun 2, 2020
2 parents 0f78ec7 + e837971 commit a5edf05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/inc.viewFolderTree.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a5edf05

Please sign in to comment.