# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
Index: skinr.module
--- skinr.module Base (BASE)
+++ skinr.module Locally Modified (Based On LOCAL)
@@ -448,11 +448,14 @@
  * theme is enabled.
  */
 function skinr_current_theme() {
-  global $user;
+  global $user, $custom_theme;
 
   if ($user->theme) {
     $current_theme = $user->theme;
   }
+  elseif (!empty($custom_theme)) {
+    $current_theme = $custom_theme;
+  }
\ No newline at end of file
   else {
     $current_theme = variable_get('theme_default', 'garland');
   }
