From 2c28f0a909a6e070b39ca449e4b1d2414208bf3d Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Sat, 26 Aug 2017 12:53:44 -0400 Subject: [PATCH] Installer: Fix "Array to string conversion" notice PHP Notice: Array to string conversion in .../includes/installer/Installer.php on line 1392 Follows-up fd8d75c1fd26e. Bug: T174258 Change-Id: I6f8497a74a83aec183684bcb441191c32c67ccde --- includes/installer/Installer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php index ae80c8bb17..52be321f69 100644 --- a/includes/installer/Installer.php +++ b/includes/installer/Installer.php @@ -1389,7 +1389,7 @@ abstract class Installer { } } closedir( $dh ); - natcasesort( $exts ); + uksort( $exts, 'strnatcasecmp' ); return $exts; } -- 2.20.1