|
|
@ -258,12 +258,11 @@ function admin_active()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$shirtCount = DB::selectOne('SELECT count(*) FROM `User` WHERE `Tshirt`=1');
|
|
|
|
$shirtCount = User_tshirts_count();
|
|
|
|
$shirtCount = array_shift($shirtCount);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$shirt_statistics[] = [
|
|
|
|
$shirt_statistics[] = [
|
|
|
|
'size' => '<b>' . _('Sum') . '</b>',
|
|
|
|
'size' => '<b>' . _('Sum') . '</b>',
|
|
|
|
'given' => '<b>' . (int)$shirtCount . '</b>'
|
|
|
|
'given' => '<b>' . $shirtCount . '</b>'
|
|
|
|
];
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
return page_with_title(admin_active_title(), [
|
|
|
|
return page_with_title(admin_active_title(), [
|
|
|
|