X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Forder.php;h=d26647bff32841bc7670dcb4f6053d50a268d982;hb=05e5c86f93d50c59a73a0bdaef7cb846ae9829d1;hp=b82fb34b9dfc3c4a0e20ba20a5f6407b7ffda2cc;hpb=89b4e006a18d6e005dc9fa2540e57daedc81a516;p=mailer.git diff --git a/inc/modules/order.php b/inc/modules/order.php index b82fb34b9d..d26647bff3 100644 --- a/inc/modules/order.php +++ b/inc/modules/order.php @@ -99,8 +99,18 @@ if (empty($URL)) { // Notify admins about this sendAdminNotification(getMessage('ADMIN_NEW_QUEUE'), 'order-admin', $content, getUserId()); + // Create new task + createNewTask( + '{--ADMIN_NEW_QUEUE--}', + '
'.loadEmailTemplate('order-admin', $content, getUserId()).'', + 'MEMBER_ORDER', + getUserId(), + 0, + false + ); + // Output back bottom - loadTemplate('member_order-back', false); + loadTemplate('member_order-back'); } else { // Matching line not found or already 'placed' in send queue redirectToUrl('modules.php?module=login');