diff --git a/fusion_apply/fusion_apply.module b/fusion_apply/fusion_apply.module
index a9056eb..7567c6c 100644
--- a/fusion_apply/fusion_apply.module
+++ b/fusion_apply/fusion_apply.module
@@ -668,12 +668,11 @@ function _fusion_apply_array_strip_empty($array) {
  *   The current theme name.
  */
 function fusion_apply_current_theme($exclude_admin_theme = FALSE) {
-  global $user, $custom_theme;
-
+  $custom_theme = menu_get_custom_theme();
   if (!empty($user->theme) && drupal_theme_access($user->theme)) {
     $current_theme = $user->theme;
   }
-  elseif (!empty($custom_theme) && drupal_theme_access($custom_theme) && !($exclude_admin_theme && $custom_theme == variable_get('admin_theme', '0'))) {
+  elseif (!empty($custom_theme) && !($exclude_admin_theme && $custom_theme == variable_get('admin_theme', '0'))) {
     // Don't return the admin theme if we're editing Fusion Apply settings.
     $current_theme = $custom_theme;
   }
