// 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');