From: Roland Häder Date: Wed, 23 Jan 2013 11:52:26 +0000 (+0000) Subject: MINOR: Small code improvements X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c3db0c416433a946c25ea1ce8d9329c0912a1616;p=mailer.git MINOR: Small code improvements --- 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);