aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-01-14 10:50:12 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-01-14 10:50:12 +0100
commit190c2e989a27bcd1ec9592f0d22faf32b496ed52 (patch)
tree5fcb8fd2a0290eafbffd00cc9dceda0f6257c3e3
parent0d79ccaaddb8c34bdf34780de104beeaf559308f (diff)
downloadforums-190c2e989a27bcd1ec9592f0d22faf32b496ed52.tar
forums-190c2e989a27bcd1ec9592f0d22faf32b496ed52.tar.gz
forums-190c2e989a27bcd1ec9592f0d22faf32b496ed52.tar.bz2
forums-190c2e989a27bcd1ec9592f0d22faf32b496ed52.tar.xz
forums-190c2e989a27bcd1ec9592f0d22faf32b496ed52.zip
[ticket/11201] Remove call by refernce
PHPBB3-11201
-rw-r--r--phpBB/phpbb/profilefields/type/type_string.php2
-rw-r--r--phpBB/phpbb/profilefields/type/type_text.php2
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);
}
}