diff --git a/phpBB/phpbb/profilefields/type/type_string.php b/phpBB/phpbb/profilefields/type/type_string.php index 84469749f1..e477ff4ea7 100644 --- a/phpBB/phpbb/profilefields/type/type_string.php +++ b/phpBB/phpbb/profilefields/type/type_string.php @@ -64,6 +64,6 @@ class type_string extends type_string_common implements type_interface */ public function validate_profile_field(&$field_value, $field_data) { - return $this->validate_string_profile_field('string', &$field_value, $field_data); + return $this->validate_string_profile_field('string', $field_value, $field_data); } } diff --git a/phpBB/phpbb/profilefields/type/type_text.php b/phpBB/phpbb/profilefields/type/type_text.php index 2f8fcb12f5..f8377015aa 100644 --- a/phpBB/phpbb/profilefields/type/type_text.php +++ b/phpBB/phpbb/profilefields/type/type_text.php @@ -64,6 +64,6 @@ class type_text extends type_string_common implements type_interface */ public function validate_profile_field(&$field_value, $field_data) { - return $this->validate_string_profile_field('text', &$field_value, $field_data); + return $this->validate_string_profile_field('text', $field_value, $field_data); } }