excluding deleted preorders in Preordernotification

This commit is contained in:
Frank Schubert
2023-07-10 11:31:10 +02:00
parent a40303761b
commit 2deeead7c6

View File

@@ -301,7 +301,7 @@ class PreorderModel {
if(is_numeric($deleted)) {
$where .= " AND deleted=$deleted";
} elseif($deleted == null) {
$where .= " (AND deleted IS NULL OR deleted = 0)";
$where .= " AND (deleted IS NULL OR deleted = 0)";
}
}