MarkAHershberger has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/374047 )
Change subject: Fix php notice
......................................................................
Fix php notice
PHP Notice: Array to string conversion in .../includes/installer/Installer.php
on line 1392
Bug: T174258
Change-Id: I6f8497a74a83aec183684bcb441191c32c67ccde
---
M includes/installer/Installer.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/47/374047/1
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: newchange
Gerrit-Change-Id: I6f8497a74a83aec183684bcb441191c32c67ccde
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: MarkAHershberger <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits