excluding deleted preorders in Preordernotification

This commit is contained in:
Frank Schubert
2023-07-10 11:27:48 +02:00
parent 9974d39536
commit e69e9697fb
3 changed files with 4 additions and 0 deletions
+2
View File
@@ -300,6 +300,8 @@ class PreorderModel {
$deleted = $filter['deleted'];
if(is_numeric($deleted)) {
$where .= " AND deleted=$deleted";
} elseif($deleted == null) {
$where .= " (AND deleted IS NULL OR deleted = 0)"
}
}