plugins/admin/PluginManager.php
changeset 791 e6094f56f941
parent 699 c7d737202d59
child 801 eb8b23f11744
--- a/plugins/admin/PluginManager.php	Mon Dec 22 13:31:07 2008 -0500
+++ b/plugins/admin/PluginManager.php	Mon Dec 22 18:51:05 2008 -0500
@@ -275,8 +275,8 @@
                   if ( $row['config_value'] == '0' )
                   {
                     $fn_db = $db->escape($plugin_filename);
-                    $q = $db->sql_query('UPDATE ' . table_prefix . "plugins SET plugin_flags = plugin_flags | " . PLUGIN_DISABLED . " WHERE plugin_filename = '$fn_db';");
-                    if ( !$q )
+                    $e = $db->sql_query('UPDATE ' . table_prefix . "plugins SET plugin_flags = plugin_flags | " . PLUGIN_DISABLED . " WHERE plugin_filename = '$fn_db';");
+                    if ( !$e )
                       $db->die_json();
                   }
                 }