From 223c634bee355f8df521163e33585b0abf1e1f69 Mon Sep 17 00:00:00 2001 From: Stanislav Atanasov Date: Thu, 10 Jul 2014 11:32:30 +0300 Subject: [PATCH] [ticket/12793] Changing get_profile_contact_value to get_profile_value_raw Changing the return to get_profile_value_raw PHPBB3-12793 --- phpBB/phpbb/profilefields/type/type_string_common.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/phpBB/phpbb/profilefields/type/type_string_common.php b/phpBB/phpbb/profilefields/type/type_string_common.php index 0842675a11..0eaf7e527d 100644 --- a/phpBB/phpbb/profilefields/type/type_string_common.php +++ b/phpBB/phpbb/profilefields/type/type_string_common.php @@ -127,12 +127,7 @@ abstract class type_string_common extends type_base */ public function get_profile_contact_value($field_value, $field_data) { - if (($field_value === null || $field_value === '') && !$field_data['field_show_novalue']) - { - return null; - } - - return $field_value; + return $this->get_profile_value_raw($field_value, $field_data); } /**