From a9fed2022c9f366f917a89e219bfca3883931bfd Mon Sep 17 00:00:00 2001 From: Bart van Bragt Date: Wed, 22 Jun 2005 21:41:07 +0000 Subject: [PATCH] Fixed small profile fields problem git-svn-id: file:///svn/phpbb/trunk@5163 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_profile_fields.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/phpBB/includes/functions_profile_fields.php b/phpBB/includes/functions_profile_fields.php index af4b5de46f..1ba203bcd6 100644 --- a/phpBB/includes/functions_profile_fields.php +++ b/phpBB/includes/functions_profile_fields.php @@ -153,7 +153,11 @@ class custom_profile } break; } - $cp_error[] = $error; + + if ($error != '') + { + $cp_error[] = $error; + } } } $db->sql_freeresult($result);