]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/order.php
More fixes
[mailer.git] / inc / modules / order.php
index b82fb34b9dfc3c4a0e20ba20a5f6407b7ffda2cc..d26647bff32841bc7670dcb4f6053d50a268d982 100644 (file)
@@ -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--}',
+                       '<pre>'.loadEmailTemplate('order-admin', $content, getUserId()).'</pre>',
+                       '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');