aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/plugins/simple.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-07 21:19:47 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-07 21:19:47 +0000
commit7b1c18db0c350c0b0c2bb918bafc9f6574f49b17 (patch)
tree6269e91f05e10e884edf41cef0e26cf854047484 /views/default/admin/plugins/simple.php
parent537bf91a71bcd2a9e8b632a1d863c03621a8281b (diff)
downloadelgg-7b1c18db0c350c0b0c2bb918bafc9f6574f49b17.tar.gz
elgg-7b1c18db0c350c0b0c2bb918bafc9f6574f49b17.tar.bz2
Refs #2782: Fixed WSOD for simple plugin admin.
git-svn-id: http://code.elgg.org/elgg/trunk@7858 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/admin/plugins/simple.php')
-rw-r--r--views/default/admin/plugins/simple.php3
1 files changed, 3 insertions, 0 deletions
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;