Merge branch 'fronkdev' into 'master'

Preordernotification fix

See merge request fronk/thetool!9
This commit is contained in:
Frank Schubert
2023-04-20 10:15:54 +00:00
2 changed files with 3 additions and 2 deletions

View File

@@ -162,14 +162,14 @@ class PreordernotificationModel {
if(array_key_exists("send_finish", $filter)) {
$send_finish = $filter['send_finish'];
if($send_finish === null) {
$where .= " AND Preordernotification.send_finish = NULL";
$where .= " AND Preordernotification.send_finish IS NULL";
}
}
if(array_key_exists("send_lock", $filter)) {
$send_lock = $filter['send_lock'];
if($send_lock === null) {
$where .= " AND Preordernotification.send_lock = NULL";
$where .= " AND Preordernotification.send_lock IS NULL";
}
}

View File

@@ -4,6 +4,7 @@ class PreordernotificationLogModel {
public $preordernotification_id;
public $preorder_id;
public $email;
public $sent;
public $create_by = null;
public $edit_by = null;
public $create = null;