diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-08-23 12:15:45 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-08-23 12:15:45 +0000 |
commit | 6a5ce3cad186409e8c916f43ac7fb467da24ed6f (patch) | |
tree | 2788978ed3bc9e4154be7fdc6f217a3075b12c6c | |
parent | c485b545550faa036e1c35b2296c39d85b8cfca9 (diff) | |
download | brdo-6a5ce3cad186409e8c916f43ac7fb467da24ed6f.tar.gz brdo-6a5ce3cad186409e8c916f43ac7fb467da24ed6f.tar.bz2 |
- Fixed bug #2548: error reporting from modules didn't always work.
-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 } |