--- functions.php.old 2012-02-29 06:54:17.012866108 +0100
+++ functions.php 2012-02-29 07:24:07.127473605 +0100
@@ -404,11 +404,11 @@
 
 /* kill_session_var - kills a session variable using two methods -- session_unregister() and unset() */
 function kill_session_var($var_name) {
- /* register_global = off: reset local settings cache so the user sees the new settings */
- session_unregister($var_name);
-
  /* register_global = on: reset local settings cache so the user sees the new settings */
  unset($_SESSION[$var_name]);
+
+ /* register_global = off: reset local settings cache so the user sees the new settings */
+ unset($var_name);
 }
 
 /* array_rekey - changes an array in the form: