From c3db0c416433a946c25ea1ce8d9329c0912a1616 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 23 Jan 2013 11:52:26 +0000 Subject: [PATCH] MINOR: Small code improvements --- inc/libs/bonus_functions.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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); -- 2.39.5