mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-23 16:32:45 +00:00
Display permanent expired bans correctly
This commit is contained in:
parent
6597a423e6
commit
a93ec400c9
@ -214,9 +214,10 @@ class Page {
|
||||
return "N/A";
|
||||
}
|
||||
if ($row['until'] <= 0) {
|
||||
return $this->permanent[$this->type];
|
||||
$until = $this->permanent[$this->type];
|
||||
} else {
|
||||
$until = $this->millis_to_date($row['until']);
|
||||
}
|
||||
$until = $this->millis_to_date($row['until']);
|
||||
if ($this->settings->show_inactive_bans && !$row['active']) {
|
||||
$until .= ' ' . $this->expired[$this->type];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user