author | Jordan Doyle <jordan@doyle.wf> | 2016-06-19 14:51:17.0 +01:00:00 |
---|---|---|
committer | Jordan Doyle <jordan@doyle.wf> | 2016-06-19 14:51:17.0 +01:00:00 |
commit | fafd800bafa92d7e2938babd69b2b914e1262bd3 [patch] |
|
tree | 44d4e855e833f1ea60e4c7b9c71e3a81db2d61c3 |
|
parent | ea8a5e62f2b382c7dfe2c46a617c5c27df0e55c6 |
|
download | fafd800bafa92d7e2938babd69b2b914e1262bd3.tar.gz |
Stop variable overwriting as a side effect of pass by reference
Diff
app/Http/Controllers/DJ/TimetableController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/DJ/TimetableController.php b/app/Http/Controllers/DJ/TimetableController.php index c07fca6..6ce851a 100644 --- a/app/Http/Controllers/DJ/TimetableController.php +++ a/app/Http/Controllers/DJ/TimetableController.php @@ -149,8 +149,8 @@ ]; for($i = 0; $i != 24; $i++) { foreach($timetable as &$slot) { $slot[$i] = null; foreach($timetable as &$s) { $s[$i] = null; } }