mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-24 08:52:45 +00:00
Okay, it's a string
This commit is contained in:
parent
ec48432a94
commit
47c6d27ac6
@ -356,6 +356,6 @@ class Page {
|
||||
|
||||
public function active($row) {
|
||||
$active = $row['active'];
|
||||
return $active === 1 || $active === true;
|
||||
return $active === 1 || $active === true || $active === "1";
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user