From 6a5ce3cad186409e8c916f43ac7fb467da24ed6f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 23 Aug 2003 12:15:45 +0000 Subject: - Fixed bug #2548: error reporting from modules didn't always work. --- modules/user/user.module | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/user/user.module') 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 } -- cgit v1.2.3