From 7b1c18db0c350c0b0c2bb918bafc9f6574f49b17 Mon Sep 17 00:00:00 2001 From: brettp Date: Fri, 7 Jan 2011 21:19:47 +0000 Subject: Refs #2782: Fixed WSOD for simple plugin admin. git-svn-id: http://code.elgg.org/elgg/trunk@7858 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/admin/plugins/simple.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'views/default/admin') diff --git a/views/default/admin/plugins/simple.php b/views/default/admin/plugins/simple.php index d9be51a29..a0e3f3445 100644 --- a/views/default/admin/plugins/simple.php +++ b/views/default/admin/plugins/simple.php @@ -14,6 +14,9 @@ $plugin_list = array(); $title = elgg_view_title(elgg_echo('admin:plugins')); foreach ($installed_plugins as $plugin) { + if (!$plugin->isValid()) { + continue; + } $interface = $plugin->manifest->getAdminInterface(); if ($interface == 'simple') { $plugin_list[$plugin->manifest->getName()] = $plugin; -- cgit v1.2.3