X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fbonus_functions.php;h=273019962a0be6f2ac3c6c1fc8d73a5fb913d7d5;hb=57227d33e870ec5cd271209c4a978a52b45c2dd6;hp=af551a1b82a40a81f378f4a6dd58682ce3a8244c;hpb=7cb246c51e8634735aaf24e546bcbc46c5ce3833;p=mailer.git diff --git a/inc/libs/bonus_functions.php b/inc/libs/bonus_functions.php index af551a1b82..273019962a 100644 --- a/inc/libs/bonus_functions.php +++ b/inc/libs/bonus_functions.php @@ -219,7 +219,7 @@ LIMIT 1", // No entries found! $OUT = " -
".sprintf(getMessage('BONUS_NO_RANKS'), $data)."
+
".getMaskedMessage('BONUS_NO_RANKS', $data)."
\n"; } @@ -318,14 +318,12 @@ LIMIT 1", $bonus = (SQL_AFFECTEDROWS() == 1); } // END - if - if (($bonus === true) && (getRequestElement('mode') == 'bonus')) { + if (($bonus === true) && (getRequestParameter('mode') == 'bonus')) { // Output message with added points - $GLOBALS['message'] .= "
- ".sprintf(getMessage('BONUS_LOGIN_BONUS_ADDED'), translateComma(getConfig('login_bonus')))." -
"; + $GLOBALS['message'] .= '
' . getMessage('BONUS_LOGIN_BONUS_ADDED') . '
'; } elseif (isExtensionActive('bonus')) { // No login bonus added! - $GLOBALS['message'] .= "
{--BONUS_LOGIN_BONUS_NOT_ADDED--}
"; + $GLOBALS['message'] .= '
{--BONUS_LOGIN_BONUS_NOT_ADDED--}
'; } }