mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-23 16:32:45 +00:00
Fix "Received Warnings" column with PHP <= 5.3
This commit is contained in:
parent
175e1703a6
commit
3e9a0698a2
@ -25,7 +25,7 @@ while ($row = $result->fetch(PDO::FETCH_ASSOC)) {
|
||||
'Warned By' => $page->get_avatar($page->get_banner_name($row), $row['banned_by_uuid']),
|
||||
'Reason' => $page->clean($row['reason']),
|
||||
'Warned Until' => $page->expiry($row),
|
||||
'Received Warning' => $row['warned'] ? "Yes" : "No",
|
||||
'Received Warning' => $page->active($row, 'warned') ? "Yes" : "No",
|
||||
));
|
||||
}
|
||||
$page->table_end();
|
||||
|
Loading…
x
Reference in New Issue
Block a user