X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-lock_user.php;h=79cc7c84e203e8ab9d08ba2b08c8605b6139c63d;hp=62ac99dbf4642fad9d61f3651dd87bfa6f4876b4;hb=a18efdcd57ba91893f0958a457b5c58639b135c3;hpb=20741b93fd58620af677a7f1039ffd16ea6ec689 diff --git a/inc/modules/admin/what-lock_user.php b/inc/modules/admin/what-lock_user.php index 62ac99dbf4..79cc7c84e2 100644 --- a/inc/modules/admin/what-lock_user.php +++ b/inc/modules/admin/what-lock_user.php @@ -55,7 +55,7 @@ if (isGetRequestElementSet('userid')) { // Ok, lock the account! if (isExtensionInstalledAndNewer('user', '0.3.5')) { // Lock with reason - SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_user_data` SET `status`='LOCKED', `lock_reason`='%s', `lock_timestamp`=NOW() WHERE `userid`=%s LIMIT 1", + SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_user_data` SET `status`='LOCKED',`lock_reason`='%s',`lock_timestamp`=NOW() WHERE `userid`=%s LIMIT 1", array(postRequestElement('reason'), bigintval(getRequestElement('userid'))), __FILE__, __LINE__); } else { // Lock with no lock reason saved @@ -103,7 +103,7 @@ LIMIT 1", // Send away... sendEmail(bigintval(getRequestElement('userid')), '{--ADMIN_UNLOCKED_SUBJECT--}', $message); if (isExtensionActive('rallye')) { - addUserToReferalRallye(getRequestElement('userid')); + addUserToReferralRallye(getRequestElement('userid')); } // END - if } // END - if