2024-02 RML address updates
This commit is contained in:
@@ -440,10 +440,10 @@ class PreorderModel {
|
||||
|
||||
if(array_key_exists("deleted", $filter)) {
|
||||
$deleted = $filter['deleted'];
|
||||
if(is_numeric($deleted)) {
|
||||
$where .= " AND deleted=$deleted";
|
||||
} elseif($deleted == null) {
|
||||
if($deleted === null || $deleted === false) {
|
||||
$where .= " AND (deleted IS NULL OR deleted = 0)";
|
||||
} elseif($deleted) {
|
||||
$where .= " AND deleted > 0";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user