X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mailid_top.php;h=59253188f434afd23c3776162a4e9d05140ae0a0;hb=3ea8e4b627579b0852d527873fbf8c80f924d7c2;hp=214a1252183d504e195d463052e1bdb90110b3ef;hpb=8a5e06774f52e0875721d10cfd2d295eb3813781;p=mailer.git diff --git a/mailid_top.php b/mailid_top.php index 214a125218..59253188f4 100644 --- a/mailid_top.php +++ b/mailid_top.php @@ -282,7 +282,7 @@ if ((isValidUserId($userId)) && (($mailId > 0) || ($bonusId > 0)) && (!ifFatalEr // Is an active-rallye running and this is not a notification mail? if ((isBonusRallyeActive()) && ($data['is_notify'] != 'Y')) { // Shall I exclude the webmaster's own userid from the active-rallye? - if ((((getBonusUserid() == $userId) && (getConfig('bonus_include_own') == 'Y')) || (getBonusUserid() != $userId)) && (getDefRefid() != $userId)) { + if ((((getBonusUserid() == $userId) && (isBonusIncludeOwnEnabled())) || (getBonusUserid() != $userId)) && (getDefRefid() != $userId)) { // Add points and remember ranking are done in this function.... addTurboBonus($urlId, $userId, $type); @@ -371,7 +371,6 @@ if ((isValidUserId($userId)) && (($mailId > 0) || ($bonusId > 0)) && (!ifFatalEr $content['userid'] = $userId; $content['type'] = $type; $content['data'] = $urlId; - $content['rand'] = getRandomTan(); $content['banner'] = loadTemplate('mailid_banner', TRUE); // Load template