From 15c50ab3153a53fbb93dbb9266a1f369ba6393ad Mon Sep 17 00:00:00 2001 From: msquare Date: Sun, 19 Nov 2017 15:13:48 +0100 Subject: fix minor cody style issues (codacy) --- includes/pages/admin_active.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes') diff --git a/includes/pages/admin_active.php b/includes/pages/admin_active.php index d67af681..0612202f 100644 --- a/includes/pages/admin_active.php +++ b/includes/pages/admin_active.php @@ -252,13 +252,13 @@ function admin_active() } } - $uc = DB::selectOne('SELECT count(*) FROM `User` WHERE `Tshirt`=1'); - $uc = array_shift($uc); + $shirtCount = DB::selectOne('SELECT count(*) FROM `User` WHERE `Tshirt`=1'); + $shirtCount = array_shift($shirtCount); $shirt_statistics[] = [ 'size' => '' . _('Sum') . '', 'needed' => '' . User_arrived_count() . '', - 'given' => '' . (int)$uc . '' + 'given' => '' . (int)$shirtCount . '' ]; return page_with_title(admin_active_title(), [ -- cgit v1.2.3-70-g09d2