mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-23 16:32:45 +00:00
Non-null removed_by_name is not expired
This commit is contained in:
parent
47a1529529
commit
bfccfee536
@ -321,7 +321,9 @@ class Page {
|
||||
}
|
||||
|
||||
function is_expired($row) {
|
||||
if ($row['removed_by_name'] === "#expired") return true;
|
||||
$removed_by_name = $row['removed_by_name'];
|
||||
if ($removed_by_name === "#expired") return true;
|
||||
if ($removed_by_name !== null && $removed_by_name !== "") return false;
|
||||
|
||||
$until = $row['until'];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user