aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_profile_fields.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2004-09-19 20:40:20 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2004-09-19 20:40:20 +0000
commit310edb4eb82ed7678f1de1270c4156bb167f89db (patch)
tree7b4d7cbf08d1d8a9b6ccef99ed2968b8189c8be2 /phpBB/includes/functions_profile_fields.php
parent8906e07d414a2fa379e3aba0b96b4f3ea468699f (diff)
downloadforums-310edb4eb82ed7678f1de1270c4156bb167f89db.tar
forums-310edb4eb82ed7678f1de1270c4156bb167f89db.tar.gz
forums-310edb4eb82ed7678f1de1270c4156bb167f89db.tar.bz2
forums-310edb4eb82ed7678f1de1270c4156bb167f89db.tar.xz
forums-310edb4eb82ed7678f1de1270c4156bb167f89db.zip
small update only fixing two obvious bugs
git-svn-id: file:///svn/phpbb/trunk@4987 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_profile_fields.php')
-rw-r--r--phpBB/includes/functions_profile_fields.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions_profile_fields.php b/phpBB/includes/functions_profile_fields.php
index e10b193f53..c6bd67b2bb 100644
--- a/phpBB/includes/functions_profile_fields.php
+++ b/phpBB/includes/functions_profile_fields.php
@@ -105,14 +105,14 @@ class custom_profile
break;
case 'FIELD_TOO_SHORT':
case 'FIELD_TOO_SMALL':
- $error = sprintf($user->lang[$cp_result], $row['lang_name'], $field_data['field_minlen']);
+ $error = sprintf($user->lang[$cp_result], $row['lang_name'], $row['field_minlen']);
break;
case 'FIELD_TOO_LONG':
case 'FIELD_TOO_LARGE':
- $error = sprintf($user->lang[$cp_result], $row['lang_name'], $field_data['field_maxlen']);
+ $error = sprintf($user->lang[$cp_result], $row['lang_name'], $row['field_maxlen']);
break;
case 'FIELD_INVALID_CHARS':
- switch ($field_data['field_validation'])
+ switch ($row['field_validation'])
{
case '[0-9]+':
$error = sprintf($user->lang[$cp_result . '_NUMBERS_ONLY'], $row['lang_name']);