aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/profilefields
diff options
context:
space:
mode:
authorStanislav Atanasov <lucifer@anavaro.com>2014-07-10 11:32:30 +0300
committerStanislav Atanasov <lucifer@anavaro.com>2014-07-10 11:46:11 +0300
commit223c634bee355f8df521163e33585b0abf1e1f69 (patch)
treec90b4ddca429b8e2d5a225d82383119c0ed29320 /phpBB/phpbb/profilefields
parent57bbb4548b2761c01fc14345982e00be1ea27af1 (diff)
downloadforums-223c634bee355f8df521163e33585b0abf1e1f69.tar
forums-223c634bee355f8df521163e33585b0abf1e1f69.tar.gz
forums-223c634bee355f8df521163e33585b0abf1e1f69.tar.bz2
forums-223c634bee355f8df521163e33585b0abf1e1f69.tar.xz
forums-223c634bee355f8df521163e33585b0abf1e1f69.zip
[ticket/12793] Changing get_profile_contact_value to get_profile_value_raw
Changing the return to get_profile_value_raw PHPBB3-12793
Diffstat (limited to 'phpBB/phpbb/profilefields')
-rw-r--r--phpBB/phpbb/profilefields/type/type_string_common.php7
1 files changed, 1 insertions, 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);
}
/**