]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-unlock_emails.php
A lot email templates renamed, SQL fixed:
[mailer.git] / inc / modules / admin / what-unlock_emails.php
index 372af1abe1c9beb25e610e4749350c440900392b..de4eead956cbecc561c3bb5f6bfbc5eca3df6c7e 100644 (file)
@@ -98,7 +98,7 @@ LIMIT 1",
                                        } // END - if
 
                                        // Load email template
-                                       $message_user = loadEmailTemplate('order-accept', $content, $content['sender']);
+                                       $message_user = loadEmailTemplate('member_order_accepted', $content, $content['sender']);
 
                                        // Send email
                                        sendEmail($content['sender'], '{--MEMBER_ORDER_ACCEPTED--}', $message_user);
@@ -120,7 +120,6 @@ LIMIT 1",
                }
 
                // Mails unlocked for mail delivery
-
                displayMessage($message);
        } elseif (isPostRequestParameterSet('reject')) {
                if (ifPostContainsSelections()) {
@@ -141,7 +140,7 @@ LIMIT 1",
                                SQL_FREERESULT($result);
 
                                // Load email template and send it away
-                               $message_user = loadEmailTemplate('order-reject', $content, $content['sender']);
+                               $message_user = loadEmailTemplate('member_order_rejected', $content, $content['sender']);
                                sendEmail($content['sender'], '{--MEMBER_ORDER_REJECTED--}', $message_user);
 
                                // If you do not enter an URL to redirect to, your URL will be set!