diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-05-28 06:08:47 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-05-28 06:08:47 +0000 |
commit | 96926ca04707d6eda0e96b2ae7eb01efb708c3ec (patch) | |
tree | 1f94ea0b97c411ba1aa1084f040c98c2a7416542 /modules/color | |
parent | a8ceb7613b808c1b6643e910f96dc7319012bf67 (diff) | |
download | brdo-96926ca04707d6eda0e96b2ae7eb01efb708c3ec.tar.gz brdo-96926ca04707d6eda0e96b2ae7eb01efb708c3ec.tar.bz2 |
- Patch #146470 by Eaton et al: standardize form API3 hook parameter order.
Diffstat (limited to 'modules/color')
-rw-r--r-- | modules/color/color.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/color/color.module b/modules/color/color.module index 1ea6c2a1b..027e7bd1a 100644 --- a/modules/color/color.module +++ b/modules/color/color.module @@ -14,7 +14,7 @@ function color_theme() { /** * Implementation of hook_form_alter(). */ -function color_form_alter(&$form, $form_id) { +function color_form_alter(&$form, $form_state, $form_id) { // Insert the color changer into the theme settings page. // TODO: Last condition in the following if disables color changer when private files are used this should be solved in a different way. See issue #92059. if ($form_id == 'system_theme_settings' && color_get_info(arg(4)) && function_exists('gd_info') && variable_get('file_downloads', FILE_DOWNLOADS_PUBLIC) == FILE_DOWNLOADS_PUBLIC) { |