jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/374047 )
Change subject: Installer: Fix "Array to string conversion" notice
......................................................................
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
---
M includes/installer/Installer.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Legoktm: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php
index ae80c8b..52be321 100644
--- a/includes/installer/Installer.php
+++ b/includes/installer/Installer.php
@@ -1389,7 +1389,7 @@
}
}
closedir( $dh );
- natcasesort( $exts );
+ uksort( $exts, 'strnatcasecmp' );
return $exts;
}
--
To view, visit https://gerrit.wikimedia.org/r/374047
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I6f8497a74a83aec183684bcb441191c32c67ccde
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: MarkAHershberger <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: MarkAHershberger <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits