Preorder Status Trigger Email done
This commit is contained in:
@@ -59,6 +59,9 @@ class MailtemplateModel {
|
||||
|
||||
$where = self::getSqlFilter($filter);
|
||||
$res = $db->select("Mailtemplate", "*", "$where ORDER BY name LIMIT 1");
|
||||
|
||||
mfLoghandler::singleton()->debug($where);
|
||||
|
||||
if($db->num_rows($res)) {
|
||||
$data = $db->fetch_object($res);
|
||||
$item = new Mailtemplate($data);
|
||||
|
||||
Reference in New Issue
Block a user