Fixed Preordernotiviation sending
This commit is contained in:
@@ -162,14 +162,14 @@ class PreordernotificationModel {
|
||||
if(array_key_exists("send_finish", $filter)) {
|
||||
$send_finish = $db->escape($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 = $db->escape($filter['send_lock']);
|
||||
if($send_lock === null) {
|
||||
$where .= " AND Preordernotification.send_lock = NULL";
|
||||
$where .= " AND Preordernotification.send_lock IS NULL";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user