aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/profilefields/manager.php
diff options
context:
space:
mode:
authorStanislav Atanasov <lucifer@anavaro.com>2014-07-10 11:43:52 +0300
committerStanislav Atanasov <lucifer@anavaro.com>2014-07-10 11:43:52 +0300
commit27f15c0d5b661c15eeaf98928128b7b176186954 (patch)
tree98da9ceaeb3d097c82287f07a3928090ce6cbd77 /phpBB/phpbb/profilefields/manager.php
parent690de2113433e0330ca53f928f6b923ea36d41c1 (diff)
downloadforums-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.php3
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']);