Plugins: fixed a final system plugin bug
authorDan
Sat, 16 May 2009 00:13:27 +0000
changeset 993 e7aa23ee7f7a
parent 989 79d558a94798
child 994 74b27f703724
Plugins: fixed a final system plugin bug
includes/plugins.php
--- a/includes/plugins.php	Fri May 15 19:52:12 2009 -0400
+++ b/includes/plugins.php	Sat May 16 00:13:27 2009 +0000
@@ -77,10 +77,10 @@
     
     $plugin_list = $this->get_plugin_list();
     $this->load_list = array();
-    
+  
     foreach ( $plugin_list as $filename => $data )
     {
-      if ( $data['status'] & PLUGIN_OUTOFDATE || $data['status'] & PLUGIN_DISABLED || ( !$data['installed'] && !$data['system plugin'] ) )
+      if ( !$data['system plugin'] && ( $data['status'] & PLUGIN_OUTOFDATE || $data['status'] & PLUGIN_DISABLED || !$data['installed'] ) )
         continue;
       
       $this->load_list[] = $filename;