X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffilter%2Fbonus_filter.php;h=0403890eaec5f6756231430ca346a3a97efd3d33;hp=63aafff99354db6470c986d60810f664a774cadc;hb=596c8ab32594401ca84abfbfe35513ddfff31bec;hpb=c15eee48f9da1469cf3cdca3a48ba2d3c382a7c9 diff --git a/inc/filter/bonus_filter.php b/inc/filter/bonus_filter.php index 63aafff993..0403890eae 100644 --- a/inc/filter/bonus_filter.php +++ b/inc/filter/bonus_filter.php @@ -50,7 +50,7 @@ function FILTER_ADD_LOGIN_BONUS ($filterData) { } // END - if // Bonus is not given by default ;-) - $bonus = false; + $bonus = FALSE; if ((isExtensionInstalledAndNewer('sql_patches', '0.2.8')) && (isBonusRallyeActive()) && (getConfig('include_bonus_login') == 'Y')) { // Update last login if far enougth away // @TODO This query isn't right, it will only update if the user was for a longer time away! @@ -71,7 +71,7 @@ LIMIT 1', $bonus = (!SQL_HASZEROAFFECTED()); } // END - if - if (($bonus === true) && (getRequestElement('do') == 'bonus')) { + if (($bonus === TRUE) && (getRequestElement('do') == 'bonus')) { // Output message with added points $GLOBALS['message'] .= '
'.print_r($filterData,true).''; + //* NOISY-DEBUG: */ print __FUNCTION__.':filterData=
'.print_r($filterData,TRUE).''; return $filterData; } @@ -148,7 +148,7 @@ function FILTER_SEND_BONUS_NOTIFICATIONS ($filterData) { // Return filter data //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!'); - //* NOISY-DEBUG: */ print __FUNCTION__.':filterData=
'.print_r($filterData,true).''; + //* NOISY-DEBUG: */ print __FUNCTION__.':filterData=
'.print_r($filterData,TRUE).''; return $filterData; }