diff options
-rw-r--r-- | modules/user.module | 3 | ||||
-rw-r--r-- | modules/user/user.module | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/modules/user.module b/modules/user.module index 5b1069b60..9385d764e 100644 --- a/modules/user.module +++ b/modules/user.module @@ -1525,6 +1525,9 @@ function user_admin_edit($edit = array()) { } // TODO: this display/edit/validate should be moved to a new profile.module implementing the _user hooks + if ($error) { + // do nothing + } if ($error = user_validate_name($edit["name"])) { // do nothing } diff --git a/modules/user/user.module b/modules/user/user.module index 5b1069b60..9385d764e 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1525,6 +1525,9 @@ function user_admin_edit($edit = array()) { } // TODO: this display/edit/validate should be moved to a new profile.module implementing the _user hooks + if ($error) { + // do nothing + } if ($error = user_validate_name($edit["name"])) { // do nothing } |