aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2011-10-20 20:22:01 -0700
committerBrett Profitt <brett.profitt@gmail.com>2011-10-20 20:23:21 -0700
commitbd08504b16ee636eda1b30676799efc22a915613 (patch)
tree951f29b453017154f0c733bb23c8d39ad7c16190 /views/default/admin
parentfdb43558396123b1dd500812c4b423c0ef72fb96 (diff)
downloadelgg-bd08504b16ee636eda1b30676799efc22a915613.tar.gz
elgg-bd08504b16ee636eda1b30676799efc22a915613.tar.bz2
Fixes #3990 Using ElggPlugin->getFriendlyName() for sorting alphabetically to avoid WSODs with invalid plugins.
Diffstat (limited to 'views/default/admin')
-rw-r--r--views/default/admin/plugins.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/admin/plugins.php b/views/default/admin/plugins.php
index 451936335..5bd0dd55d 100644
--- a/views/default/admin/plugins.php
+++ b/views/default/admin/plugins.php
@@ -93,7 +93,7 @@ switch ($sort) {
case 'alpha':
$plugin_list = array();
foreach ($installed_plugins as $plugin) {
- $plugin_list[$plugin->getManifest()->getName()] = $plugin;
+ $plugin_list[$plugin->getFriendlyName()] = $plugin;
}
ksort($plugin_list);
break;