Index: switchtheme.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/switchtheme/switchtheme.module,v
retrieving revision 1.10
diff -u -p -r1.10 switchtheme.module
--- switchtheme.module	31 Aug 2007 14:56:14 -0000	1.10
+++ switchtheme.module	13 Apr 2008 19:49:02 -0000
@@ -148,7 +148,6 @@ function switchtheme_switch_form_submit(
   // save the setting in the db for logged in users
   // save the setting in the session for all others
   if ($user->uid > 0) {
-    variable_set('theme_default', $form_values['custom_theme']);
     if (user_save($user, array('theme' => $form_state['values']['custom_theme']))) {
       $user->theme = $form_state['values']['custom_theme'];
     }
