diff options
author | Stanislav Atanasov <lucifer@anavaro.com> | 2014-07-10 11:43:52 +0300 |
---|---|---|
committer | Stanislav Atanasov <lucifer@anavaro.com> | 2014-07-10 11:43:52 +0300 |
commit | 27f15c0d5b661c15eeaf98928128b7b176186954 (patch) | |
tree | 98da9ceaeb3d097c82287f07a3928090ce6cbd77 /phpBB/phpbb/profilefields/manager.php | |
parent | 690de2113433e0330ca53f928f6b923ea36d41c1 (diff) | |
download | forums-27f15c0d5b661c15eeaf98928128b7b176186954.tar forums-27f15c0d5b661c15eeaf98928128b7b176186954.tar.gz forums-27f15c0d5b661c15eeaf98928128b7b176186954.tar.bz2 forums-27f15c0d5b661c15eeaf98928128b7b176186954.tar.xz forums-27f15c0d5b661c15eeaf98928128b7b176186954.zip |
[ticket/12791] Changed the if check
Removed unneeded variable
PHPBB3-12791
Diffstat (limited to 'phpBB/phpbb/profilefields/manager.php')
-rw-r--r-- | phpBB/phpbb/profilefields/manager.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/phpbb/profilefields/manager.php b/phpBB/phpbb/profilefields/manager.php index c79e13c958..98802d2209 100644 --- a/phpBB/phpbb/profilefields/manager.php +++ b/phpBB/phpbb/profilefields/manager.php @@ -390,7 +390,6 @@ class manager $profile_field = $this->type_collection[$ident_ary['data']['field_type']]; $value = $profile_field->get_profile_value($ident_ary['value'], $ident_ary['data']); $value_raw = $profile_field->get_profile_value_raw($ident_ary['value'], $ident_ary['data']); - $is_contact = $ident_ary['data']['field_is_contact']; if ($value === null) { @@ -398,7 +397,7 @@ class manager } $field_desc = $contact_url = ''; - if ($use_contact_fields && $is_contact) + if ($use_contact_fields && $ident_ary['data']['field_is_contact']) { $value = $profile_field->get_profile_contact_value($ident_ary['value'], $ident_ary['data']); $field_desc = $this->user->lang($ident_ary['data']['field_contact_desc']); |