mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/12793] Changing get_profile_contact_value to get_profile_value_raw
Changing the return to get_profile_value_raw PHPBB3-12793
This commit is contained in:
parent
57bbb4548b
commit
223c634bee
1 changed files with 1 additions and 6 deletions
|
@ -127,12 +127,7 @@ abstract class type_string_common extends type_base
|
||||||
*/
|
*/
|
||||||
public function get_profile_contact_value($field_value, $field_data)
|
public function get_profile_contact_value($field_value, $field_data)
|
||||||
{
|
{
|
||||||
if (($field_value === null || $field_value === '') && !$field_data['field_show_novalue'])
|
return $this->get_profile_value_raw($field_value, $field_data);
|
||||||
{
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
return $field_value;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue