diff options
author | David M <davidmj@users.sourceforge.net> | 2006-10-18 23:58:31 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2006-10-18 23:58:31 +0000 |
commit | 9a0ca3d334396940cc32ed153ccdfef76ece8d9e (patch) | |
tree | c17889692a3e45c2cf95ebee9e1f6e79111798d0 /phpBB/includes/acp/acp_profile.php | |
parent | 2d3af47407cdd95f3983f0379cc8f378e9b564db (diff) | |
download | forums-9a0ca3d334396940cc32ed153ccdfef76ece8d9e.tar forums-9a0ca3d334396940cc32ed153ccdfef76ece8d9e.tar.gz forums-9a0ca3d334396940cc32ed153ccdfef76ece8d9e.tar.bz2 forums-9a0ca3d334396940cc32ed153ccdfef76ece8d9e.tar.xz forums-9a0ca3d334396940cc32ed153ccdfef76ece8d9e.zip |
- typo in functions.php
- #4826
git-svn-id: file:///svn/phpbb/trunk@6510 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_profile.php')
-rw-r--r-- | phpBB/includes/acp/acp_profile.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/includes/acp/acp_profile.php b/phpBB/includes/acp/acp_profile.php index 4862d3ead0..03b1cf3b82 100644 --- a/phpBB/includes/acp/acp_profile.php +++ b/phpBB/includes/acp/acp_profile.php @@ -365,6 +365,12 @@ class acp_profile $cp->vars['lang_explain'] = request_var('lang_explain', $field_row['lang_explain'], true); $cp->vars['lang_default_value'] = request_var('lang_default_value', $field_row['lang_default_value'], true); + + if (strlen($cp->vars['field_ident']) > 17) + { + $error[] = $user->lang['INVALID_FIELD_IDENT_LEN']; + } + // Field option... if (isset($_REQUEST['field_option'])) { |