? 554324-1.patch
Index: admin_theme.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/admin_theme/admin_theme.module,v
retrieving revision 1.1.2.17
diff -u -p -r1.1.2.17 admin_theme.module
--- admin_theme.module	15 Aug 2009 08:18:46 -0000	1.1.2.17
+++ admin_theme.module	21 Aug 2009 08:56:23 -0000
@@ -137,7 +137,12 @@ function admin_theme_init() {
   // we should not show the admin theme if the user has no access or the path is in the disallow list
   if (!user_access('access admin theme') || $admin_theme_disallow) {
     global $custom_theme;
-    unset($custom_theme);
+    if ($custom_theme == variable_get('admin_theme', '0')) {
+      $custom_theme = '0';
+    }
+    else {
+      unset($custom_theme);
+    }
     return;
   }
   
