diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/system.module | 2 | ||||
-rw-r--r-- | modules/system/system.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/system.module b/modules/system.module index 96d2b14cf..5508f868d 100644 --- a/modules/system.module +++ b/modules/system.module @@ -633,7 +633,7 @@ function system_theme_settings() { $function = $themes[$key]->prefix .'_settings'; if (function_exists($function)) { $group = $function(); - if (strpos($themes[$key]->description, '.theme')) { + if (strpos($themes[$key]->description, '.theme') || ($themes[$key]->description == '')) { $form .= form_group(t('Theme-specific settings'), $group, t('These settings only exist for the %theme theme and all the styles based on it.', array('%theme' => $themes[$key]->prefix))); } else { diff --git a/modules/system/system.module b/modules/system/system.module index 96d2b14cf..5508f868d 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -633,7 +633,7 @@ function system_theme_settings() { $function = $themes[$key]->prefix .'_settings'; if (function_exists($function)) { $group = $function(); - if (strpos($themes[$key]->description, '.theme')) { + if (strpos($themes[$key]->description, '.theme') || ($themes[$key]->description == '')) { $form .= form_group(t('Theme-specific settings'), $group, t('These settings only exist for the %theme theme and all the styles based on it.', array('%theme' => $themes[$key]->prefix))); } else { |