A lot email templates renamed, SQL fixed:
[mailer.git] / inc / modules / admin / what-lock_user.php
index 46c8d6a9961a5483a6ec51e4b5241ea752c58e2d..b01c6d3627a6ff624e463e36230d9011a19fe25c 100644 (file)
@@ -66,7 +66,7 @@ if (isGetRequestParameterSet('userid')) {
                        // Entry updated?
                        if (!SQL_HASZEROAFFECTED()) {
                                // Send an email to the user! In later version you can optionally switch this feature off
-                               $message = loadEmailTemplate('lock-user', array('text' => postRequestParameter('reason')), bigintval(getRequestParameter('userid')));
+                               $message = loadEmailTemplate('member_user_locked', array('text' => postRequestParameter('reason')), bigintval(getRequestParameter('userid')));
 
                                // Send away...
                                sendEmail(bigintval(getRequestParameter('userid')), '{--ADMIN_LOCKED_SUBJECT--}', $message);
@@ -98,7 +98,7 @@ LIMIT 1",
                        // Entry updated?
                        if (!SQL_HASZEROAFFECTED()) {
                                // Send an email to the user! In later version you can optionally switch this feature off
-                               $message = loadEmailTemplate('unlock-user', array('text' => postRequestParameter('reason')), bigintval(getRequestParameter('userid')));
+                               $message = loadEmailTemplate('member_user_unlocked', array('text' => postRequestParameter('reason')), bigintval(getRequestParameter('userid')));
 
                                // Send away...
                                sendEmail(bigintval(getRequestParameter('userid')), '{--ADMIN_UNLOCKED_SUBJECT--}', $message);