aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorBart van Bragt <bartvb@users.sourceforge.net>2005-06-22 21:41:07 +0000
committerBart van Bragt <bartvb@users.sourceforge.net>2005-06-22 21:41:07 +0000
commita9fed2022c9f366f917a89e219bfca3883931bfd (patch)
treef52eecd072cb9bc60c56687421d6c002d87abebb /phpBB
parent67113ee028a0baa82c6b031e0e3dc1e9fa09608c (diff)
downloadforums-a9fed2022c9f366f917a89e219bfca3883931bfd.tar
forums-a9fed2022c9f366f917a89e219bfca3883931bfd.tar.gz
forums-a9fed2022c9f366f917a89e219bfca3883931bfd.tar.bz2
forums-a9fed2022c9f366f917a89e219bfca3883931bfd.tar.xz
forums-a9fed2022c9f366f917a89e219bfca3883931bfd.zip
Fixed small profile fields problem
git-svn-id: file:///svn/phpbb/trunk@5163 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/functions_profile_fields.php6
1 files changed, 5 insertions, 1 deletions
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);