summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.api.php2
-rw-r--r--modules/system/system.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php
index 8a055d65f..13a71ec5e 100644
--- a/modules/system/system.api.php
+++ b/modules/system/system.api.php
@@ -555,7 +555,7 @@ function hook_form_alter(&$form, &$form_state, $form_id) {
*/
function hook_form_FORM_ID_alter(&$form, &$form_state) {
// Modification for the form with the given form ID goes here. For example, if
- // FORM_ID is "user_register" this code would run only on the user
+ // FORM_ID is "user_register_form" this code would run only on the user
// registration form.
// Add a checkbox to registration form about agreeing to terms of use.
diff --git a/modules/system/system.module b/modules/system/system.module
index 14d5833bc..23db12b56 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -1492,7 +1492,7 @@ function system_form_user_profile_form_alter(&$form, &$form_state) {
/**
* Implement hook_form_FORM_ID_alter().
*/
-function system_form_user_register_alter(&$form, &$form_state) {
+function system_form_user_register_form_alter(&$form, &$form_state) {
if (variable_get('configurable_timezones', 1)) {
if (variable_get('user_default_timezone', DRUPAL_USER_TIMEZONE_DEFAULT) == DRUPAL_USER_TIMEZONE_SELECT) {
system_user_timezone($form, $form_state);