fix wrong data at arrival statistics

main
Philip Häusler 9 years ago
parent c4ee004095
commit 128ee0911f

@ -104,7 +104,7 @@ function admin_arrive() {
$planned_arrival_sum_at_day = []; $planned_arrival_sum_at_day = [];
$planned_arrival_sum = 0; $planned_arrival_sum = 0;
foreach ($arrival_count_at_day as $day => $count) { foreach ($planned_arrival_count_at_day as $day => $count) {
$planned_arrival_sum += $count; $planned_arrival_sum += $count;
$planned_arrival_at_day[$day] = [ $planned_arrival_at_day[$day] = [
'day' => $day, 'day' => $day,

Loading…
Cancel
Save