--- plugins.php.orig    Mon Sep 26 06:51:50 2005
+++ plugins.php Mon Sep 26 06:52:39 2005
@@ -40,9 +40,9 @@
 // If a plugin file does not exist, remove it from the list of active
 // plugins.     
 foreach ($check_plugins as $check_plugin) {
        if (!file_exists(ABSPATH . 'wp-content/plugins/' . $check_plugin)) {
                        $current = get_settings('active_plugins');
-                       unset($current[$_GET['plugin']]);
+                       unset($current[$check_plugin]);
                        update_option('active_plugins', $current);
        }
 }
