diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/system/system.admin.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index e7f51ff18..fac8ab919 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -468,7 +468,7 @@ function system_theme_settings(&$form_state, $key = '') { // Call engine-specific settings. $function = $themes[$key]->prefix . '_engine_settings'; if (function_exists($function)) { - $group = $function($settings); + $group = $function($settings, $form); if (!empty($group)) { $form['engine_specific'] = array('#type' => 'fieldset', '#title' => t('Theme-engine-specific settings'), '#description' => t('These settings only exist for all the templates and styles based on the %engine theme engine.', array('%engine' => $themes[$key]->prefix))); $form['engine_specific'] = array_merge($form['engine_specific'], $group); @@ -480,7 +480,7 @@ function system_theme_settings(&$form_state, $key = '') { $function = $themes[$key]->prefix . '_settings'; } if (function_exists($function)) { - $group = $function($settings); + $group = $function($settings, $form); if (!empty($group)) { $form['theme_specific'] = array('#type' => 'fieldset', '#title' => t('Theme-specific settings'), '#description' => t('These settings only exist for the %theme theme and all the styles based on it.', array('%theme' => $themes[$key]->info['name']))); $form['theme_specific'] = array_merge($form['theme_specific'], $group); |