summaryrefslogtreecommitdiff
path: root/modules/color
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-04 04:56:54 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-04 04:56:54 +0000
commit59b7e23b566013829bf628c2c188e02f776c965d (patch)
tree88c34c7b45a25cb158f563c03f0277bd5447f2dc /modules/color
parent5d001d94d64b1bd94e7b0064b72b06f68e0e2ed6 (diff)
downloadbrdo-59b7e23b566013829bf628c2c188e02f776c965d.tar.gz
brdo-59b7e23b566013829bf628c2c188e02f776c965d.tar.bz2
#367567 by sun, effulgentsia, yched, and quicksketch: Use AJAX framework for 'Add more' links.
Diffstat (limited to 'modules/color')
-rw-r--r--modules/color/color.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/color/color.module b/modules/color/color.module
index 7051386f2..882d23cba 100644
--- a/modules/color/color.module
+++ b/modules/color/color.module
@@ -31,7 +31,7 @@ function color_theme() {
* Implement hook_form_FORM_ID_alter().
*/
function color_form_system_theme_settings_alter(&$form, &$form_state) {
- if (isset($form_state['args'][0]) && ($theme = $form_state['args'][0]) && color_get_info($theme) && function_exists('gd_info')) {
+ if (isset($form_state['build_info']['args'][0]) && ($theme = $form_state['build_info']['args'][0]) && color_get_info($theme) && function_exists('gd_info')) {
$form['color'] = array(
'#type' => 'fieldset',
'#title' => t('Color scheme'),