X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mailid_top.php;h=59253188f434afd23c3776162a4e9d05140ae0a0;hb=74b7fbc5030bb2938a9859020876da63e6d15c0b;hp=11b984d145a4bc9e7a36b1b8886eb1b23fc31be8;hpb=b941cf55d76e1349c7e9c29e116fbf708664a06b;p=mailer.git diff --git a/mailid_top.php b/mailid_top.php index 11b984d145..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) && (getBonusIncludeOwn() == '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);