summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-12-26 10:52:32 +0100
committermsquare <msquare@notrademark.de>2017-12-26 10:52:32 +0100
commit010199328498888872cf3c023e163c02872fff8f (patch)
treec8342584a58fbf26fc0a6316fe2185153a69911c
parentd4ccc14d6cf55064736d821ca84b7ab6cb1ce928 (diff)
fix dashboard rows
-rw-r--r--includes/view/PublicDashboard_view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/view/PublicDashboard_view.php b/includes/view/PublicDashboard_view.php
index eaf032ae..83cf0e5f 100644
--- a/includes/view/PublicDashboard_view.php
+++ b/includes/view/PublicDashboard_view.php
@@ -16,7 +16,7 @@ function public_dashboard_view($stats, $free_shifts)
];
foreach ($free_shifts as $i => $shift) {
$shift_panels[] = public_dashboard_shift_render($shift);
- if($i % 4 == 0) {
+ if($i % 4 == 3) {
$shift_panels[] = '</div><div class="row">';
}
}