Preorder Status Trigger Email done

This commit is contained in:
Frank Schubert
2024-12-09 16:47:11 +01:00
parent 25d4e8271f
commit 72367e2a63
9 changed files with 451 additions and 34 deletions

View File

@@ -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);