author | Jordan Doyle <jordan@doyle.wf> | 2016-06-22 3:32:24.0 +01:00:00 |
---|---|---|
committer | Jordan Doyle <jordan@doyle.wf> | 2016-06-22 3:32:24.0 +01:00:00 |
commit | a574c535705b29fc35bcbf98eac1b164176d7714 [patch] |
|
tree | 2b565da67841617c862b9c06fe745fbfccdebe69 |
|
parent | ca69bf53d9ecdd74446f6c637e6ee889b36a5dd4 |
|
download | a574c535705b29fc35bcbf98eac1b164176d7714.tar.gz |
Stop $slot being overwritten.
Diff
app/Http/Controllers/Event/TimetableController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Event/TimetableController.php b/app/Http/Controllers/Event/TimetableController.php index 48b265f..d4023d3 100644 --- a/app/Http/Controllers/Event/TimetableController.php +++ a/app/Http/Controllers/Event/TimetableController.php @@ -230,8 +230,8 @@ ]; for ($i = 0; $i != 24; $i++) { foreach ($timetable as &$slot) { $slot[$i] = null; foreach ($timetable as &$s) { $s[$i] = null; } }