mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-18 12:11:36 +00:00
Fixed donations profile info box bug.
isset() was called instead of checking the boolean value of $EnabledRewards['HasProfileInfo' . $i]
This commit is contained in:
parent
84f5e7a68e
commit
3365fff6a0
@ -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]) {
|
||||
?>
|
||||
<div class="box">
|
||||
<div class="head" style="height: 13px;">
|
||||
|
Loading…
Reference in New Issue
Block a user