--- 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();
}
}