From 010199328498888872cf3c023e163c02872fff8f Mon Sep 17 00:00:00 2001 From: msquare Date: Tue, 26 Dec 2017 10:52:32 +0100 Subject: [PATCH] fix dashboard rows --- includes/view/PublicDashboard_view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[] = '
'; } }