From bd08504b16ee636eda1b30676799efc22a915613 Mon Sep 17 00:00:00 2001 From: Brett Profitt Date: Thu, 20 Oct 2011 20:22:01 -0700 Subject: Fixes #3990 Using ElggPlugin->getFriendlyName() for sorting alphabetically to avoid WSODs with invalid plugins. --- views/default/admin/plugins.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/default') 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; -- cgit v1.2.3