X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fbonus_functions.php;h=fa7ddd1b23d1905d49e4d34ad3c29cf15806179e;hb=f888a0bda52e7dd2ea799837ed2991c263864e9f;hp=448accb5f33ee1e7743e502b40217f085e799ffc;hpb=6c6f24bd5a3817573d1d49ed114700914ae8c920;p=mailer.git diff --git a/inc/libs/bonus_functions.php b/inc/libs/bonus_functions.php index 448accb5f3..fa7ddd1b23 100644 --- a/inc/libs/bonus_functions.php +++ b/inc/libs/bonus_functions.php @@ -121,7 +121,9 @@ function addTurboBonus ($id, $userid, $type) { // function addBonusRanks ($data, $type, $userid) { // Init variables - $self = FALSE; $OUT = ''; $GLOBALS['ranking_content'] = array(); + $self = FALSE; + $OUT = ''; + $GLOBALS['ranking_content'] = array(); // Clear rankings by default $GLOBALS['ranking_content']['rankings'] = ''; @@ -143,7 +145,7 @@ function addBonusRanks ($data, $type, $userid) { $GLOBALS['ranking_content'] = merge_array($GLOBALS['ranking_content'], SQL_FETCHARRAY($result)); // Remember all values for later use - $self = TRUE; + $self = TRUE; // Transfer data to template $GLOBALS['ranking_content']['timemark'] = generateDateTime($GLOBALS['ranking_content']['timemark'], 1);