excluding deleted preorders in Preordernotification
This commit is contained in:
@@ -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)";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user