X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-edit_sponsor.php;h=cf61c57c5851a020b3a590c50d29b32d2fdd7249;hb=3c50057c4da8c632d1923d7879a2b870d1eb7155;hp=29bbdf826d20370b4b4aa3dca7573e9413a302fe;hpb=a36ec5d82756cd4db92ce27b6acc42b8a01920ce;p=mailer.git diff --git a/inc/modules/admin/what-edit_sponsor.php b/inc/modules/admin/what-edit_sponsor.php index 29bbdf826d..cf61c57c58 100644 --- a/inc/modules/admin/what-edit_sponsor.php +++ b/inc/modules/admin/what-edit_sponsor.php @@ -119,12 +119,12 @@ LIMIT 1", break; case 'edit': // Edit sponsor account - $PASS = true; + $PASS = TRUE; if ((postRequestElement('pass1') != postRequestElement('pass2')) || ((!isPostRequestElementSet('pass1')) && (!isPostRequestElementSet('pass1')))) { // Remove passwords unsetPostRequestElement('pass1'); unsetPostRequestElement('pass2'); - $PASS = false; + $PASS = FALSE; } // END - if // Convert time selection @@ -137,10 +137,10 @@ LIMIT 1", postRequestElement('gender' , '{%pipe,translateGender=' . postRequestElement('gender') . '%}'); postRequestElement('warning_interval', '{%pipe,createFancyTime=' . postRequestElement('warning_interval') . '%}'); - if ($PASS === false) setPostRequestElement('pass1', '{--SPONSOR_PASS_UNCHANGED--}'); + if ($PASS === FALSE) setPostRequestElement('pass1', '{--SPONSOR_PASS_UNCHANGED--}'); // Load email template and send the mail away - $message = loadEmailTemplate('admin_sponsor_edit', postRequestArray(), false); + $message = loadEmailTemplate('admin_sponsor_edit', postRequestArray(), FALSE); sendEmail(postRequestElement('email'), '{--ADMIN_SPONSOR_EDIT_SUBJECT--}', $message); break; @@ -159,7 +159,7 @@ LIMIT 1", $content['contact'] = '' . $content['surname'] . ' ' . $content['family'] . ''; // Load mode template - loadTemplate($TPL, false, $content); + loadTemplate($TPL, FALSE, $content); } else { // Template not found displayMessage('{%message,ADMIN_SPONSOR_MODUS_TPL_404', getRequestElement('do') . '%}');