diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2014-03-05 18:44:39 -0600 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2014-03-05 18:44:39 -0600 |
commit | 4b6f3f8b0fc3fc3b0d7fa0147930d0ea02107a8f (patch) | |
tree | c7828ddf135f2ad66570554f1369cf70483ddefa /phpBB/phpbb/profilefields | |
parent | 40c582688b7eb4fd5e48d06c4f2fd4c044012b08 (diff) | |
parent | d380cdec02f2d5a6d6b4756570031af87590905a (diff) | |
download | forums-4b6f3f8b0fc3fc3b0d7fa0147930d0ea02107a8f.tar forums-4b6f3f8b0fc3fc3b0d7fa0147930d0ea02107a8f.tar.gz forums-4b6f3f8b0fc3fc3b0d7fa0147930d0ea02107a8f.tar.bz2 forums-4b6f3f8b0fc3fc3b0d7fa0147930d0ea02107a8f.tar.xz forums-4b6f3f8b0fc3fc3b0d7fa0147930d0ea02107a8f.zip |
Merge pull request #2088 from nickvergessen/ticket/12236
Ticket/12236 Convert AOL and Yahoo to custom profile fields
Diffstat (limited to 'phpBB/phpbb/profilefields')
-rw-r--r-- | phpBB/phpbb/profilefields/type/type_string_common.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/profilefields/type/type_string_common.php b/phpBB/phpbb/profilefields/type/type_string_common.php index d5fb8f4b97..f060fb1054 100644 --- a/phpBB/phpbb/profilefields/type/type_string_common.php +++ b/phpBB/phpbb/profilefields/type/type_string_common.php @@ -69,7 +69,7 @@ abstract class type_string_common extends type_base $field_validate = ($field_type != 'text') ? $field_value : bbcode_nl2br($field_value); if (!preg_match('#^' . str_replace('\\\\', '\\', $field_data['field_validation']) . '$#i', $field_validate)) { - switch ($row['field_validation']) + switch ($field_data['field_validation']) { case '[0-9]+': return $this->user->lang('FIELD_INVALID_CHARS_NUMBERS_ONLY', $this->get_field_name($field_data['lang_name'])); |