1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-17 06:04:10 +02:00

Merge pull request #2088 from nickvergessen/ticket/12236

Ticket/12236 Convert AOL and Yahoo to custom profile fields
This commit is contained in:
Nathan Guse
2014-03-05 18:44:39 -06:00
43 changed files with 291 additions and 245 deletions

View File

@@ -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']));