Design fix on intro page

This commit is contained in:
Zacharie
2020-07-03 15:56:32 +02:00
parent d1601ede5f
commit a96d89e9d9
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -244,12 +244,13 @@ foreach ($result as $row)
@$activity_last_weeks[$week][$day_nb]['date'] = format_date($day_date->getTimestamp());
}
//echo '<pre>'; print_r($activity_last_weeks); echo '</pre>';
foreach($activity_last_weeks as $week => $i)
{
foreach($i as $day => $j)
{
$details = $j['details'];
ksort($details);
$activity_last_weeks[$week][$day]['details'] = $details;
if ($j['number'] > 0)
{
$temp_data[] = array('x' => $j['number'], 'd'=>$day, 'w'=>$week);