author | Jordan Doyle <jordan@doyle.wf> | 2016-06-26 14:08:13.0 +01:00:00 |
---|---|---|
committer | Jordan Doyle <jordan@doyle.wf> | 2016-06-26 14:08:13.0 +01:00:00 |
commit | 059af457ab7ca76554cce71012ca8cb7b56cd796 [patch] |
|
tree | 18423b88eb976a32fbe73933f27605c231fe332f |
|
parent | 99cf13f55f4e02e0fccb427f9e27ea52f613e841 |
|
download | 059af457ab7ca76554cce71012ca8cb7b56cd796.tar.gz |
Fix off by one error
Diff
app/Http/Controllers/Event/TimetableController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Event/TimetableController.php b/app/Http/Controllers/Event/TimetableController.php index bbd4281..b9d7635 100644 --- a/app/Http/Controllers/Event/TimetableController.php +++ a/app/Http/Controllers/Event/TimetableController.php @@ -249,7 +249,7 @@ continue; } $timetable[$carbon->dayOfWeek][$carbon->hour] = [ $timetable[$carbon->dayOfWeek - 1][$carbon->hour] = [ 'id' => $slot->user()->first()->userid, 'name' => $raw ? $slot->user()->first()->getDisplayName()->toHtml() : $slot->user()->first()->getDisplayName(),