X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Forder.php;h=d26647bff32841bc7670dcb4f6053d50a268d982;hb=ab8f09f780b313fd4196ec6010ebc9e960e4da85;hp=b82fb34b9dfc3c4a0e20ba20a5f6407b7ffda2cc;hpb=a975001c8e332a6af3513ea57e9acebeaadf1640;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');