From 8b0f1033e54a9f832e7c65854c382e1561dfd996 Mon Sep 17 00:00:00 2001 From: Joseph Cohen Date: Thu, 13 Aug 2015 23:38:54 -0500 Subject: [PATCH] Fix typo assign --- app/Http/Controllers/Admin/ScheduleController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Admin/ScheduleController.php b/app/Http/Controllers/Admin/ScheduleController.php index 8b6249df..195348b2 100644 --- a/app/Http/Controllers/Admin/ScheduleController.php +++ b/app/Http/Controllers/Admin/ScheduleController.php @@ -109,7 +109,7 @@ class ScheduleController extends Controller $scheduleData['status'] = 0; try { - Incident::create($scheduleData); + $incident = Incident::create($scheduleData); } catch (ValidationException $e) { return Redirect::route('dashboard.schedule.add') ->withInput(Binput::all())