summaryrefslogtreecommitdiff
path: root/modules/locale/locale.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/locale/locale.module')
-rw-r--r--modules/locale/locale.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/locale/locale.module b/modules/locale/locale.module
index 8d826fd55..3a4e835c1 100644
--- a/modules/locale/locale.module
+++ b/modules/locale/locale.module
@@ -214,7 +214,7 @@ function locale_user($type, $edit, &$user, $category = NULL) {
/**
* Implementation of hook_form_alter(). Adds language fields to forms.
*/
-function locale_form_alter(&$form, $form_id) {
+function locale_form_alter(&$form, $form_state, $form_id) {
switch ($form_id) {
// Language field for paths