summaryrefslogtreecommitdiff
path: root/includes/pages
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2015-08-16 23:32:39 +0200
committerPhilip Häusler <msquare@notrademark.de>2015-08-16 23:32:39 +0200
commit128ee0911f8ce26d614ccb915c63bf66e5337f83 (patch)
treec571e105ff30275f37f4f2b139bad258d9be30f5 /includes/pages
parentc4ee004095b178cc85767a9848e8cfc798acc369 (diff)
fix wrong data at arrival statistics
Diffstat (limited to 'includes/pages')
-rw-r--r--includes/pages/admin_arrive.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/pages/admin_arrive.php b/includes/pages/admin_arrive.php
index 2696ce12..c7fcab63 100644
--- a/includes/pages/admin_arrive.php
+++ b/includes/pages/admin_arrive.php
@@ -104,7 +104,7 @@ function admin_arrive() {
$planned_arrival_sum_at_day = [];
$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_at_day[$day] = [
'day' => $day,