From 190c2e989a27bcd1ec9592f0d22faf32b496ed52 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 14 Jan 2014 10:50:12 +0100 Subject: [PATCH] [ticket/11201] Remove call by refernce PHPBB3-11201 --- phpBB/phpbb/profilefields/type/type_string.php | 2 +- phpBB/phpbb/profilefields/type/type_text.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } }