From 3365fff6a0f16bb506f5c11dd9a787c7bda91a41 Mon Sep 17 00:00:00 2001 From: Observer Date: Fri, 28 Mar 2014 12:32:01 +1000 Subject: [PATCH] Fixed donations profile info box bug. isset() was called instead of checking the boolean value of $EnabledRewards['HasProfileInfo' . $i] --- classes/donationsview.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/donationsview.class.php b/classes/donationsview.class.php index a0395613..3a6a0615 100644 --- a/classes/donationsview.class.php +++ b/classes/donationsview.class.php @@ -98,7 +98,7 @@ public static function render_donor_stats($UserID) { public static function render_profile_rewards($EnabledRewards, $ProfileRewards) { for ($i = 1; $i <= 4; $i++) { - if (isset($EnabledRewards['HasProfileInfo' . $i]) && $ProfileRewards['ProfileInfo' . $i]) { + if ($EnabledRewards['HasProfileInfo' . $i] && $ProfileRewards['ProfileInfo' . $i]) { ?>