diff options
author | msquare <msquare@notrademark.de> | 2017-11-19 15:13:48 +0100 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2017-11-19 15:13:48 +0100 |
commit | 15c50ab3153a53fbb93dbb9266a1f369ba6393ad (patch) | |
tree | 8bf81b2f54f7a416f190f86a19d61404421a4520 /includes/pages | |
parent | deae2a17217a0de9f8f016b85fea71a33c90d22c (diff) |
fix minor cody style issues (codacy)
Diffstat (limited to 'includes/pages')
-rw-r--r-- | includes/pages/admin_active.php | 6 |
1 files changed, 3 insertions, 3 deletions
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' => '<b>' . _('Sum') . '</b>', 'needed' => '<b>' . User_arrived_count() . '</b>', - 'given' => '<b>' . (int)$uc . '</b>' + 'given' => '<b>' . (int)$shirtCount . '</b>' ]; return page_with_title(admin_active_title(), [ |