diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 685f16ac314e92cce85d195af07c40abc8fe7317..eef1e2fce867c0f4a3882d0c700da21db0b30c46 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -367,7 +367,7 @@ function hook_page_alter($page) { * String representing the name of the form itself. Typically this is the * name of the function that generated the form. */ -function hook_form_alter(&$form, $form_state, $form_id) { +function hook_form_alter(&$form, &$form_state, $form_id) { if (isset($form['type']) && $form['type']['#value'] . '_node_settings' == $form_id) { $form['workflow']['upload_' . $form['type']['#value']] = array( '#type' => 'radios',