X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fbonus_functions.php;h=db0a942de571c92be5943e51b26045cea3ef01d7;hp=0ef95848f653e01244321f0f89915468935ea42a;hb=a6f2207cfc7ea047d53a4da7c6b218fae66c1801;hpb=b6c301dece2d7a3375321d4f3c0498ceaeb5a2a6;ds=sidebyside diff --git a/inc/libs/bonus_functions.php b/inc/libs/bonus_functions.php index 0ef95848f6..db0a942de5 100644 --- a/inc/libs/bonus_functions.php +++ b/inc/libs/bonus_functions.php @@ -40,10 +40,12 @@ if (!defined('__SECURITY')) { die(); } // END - if -// This function must be run *BEFORE* a link is removed from table 'mxchange_user_links' ! +// This function must be run *BEFORE* a link is removed from table 'mailer_user_links' ! function addTurboBonus ($mid, $userid, $type) { // Shall we add bonus points? - if (!isBonusRallyeActive()) return false; + if (!isBonusRallyeActive()) { + return false; + } // END - if // Init variables $sql = ''; $bonus = '0'; $mail = '0'; $column = '';