diff --git a/app/Http/Controllers/Dashboard/ScheduleController.php b/app/Http/Controllers/Dashboard/ScheduleController.php index 1e7ff278..e42464d1 100644 --- a/app/Http/Controllers/Dashboard/ScheduleController.php +++ b/app/Http/Controllers/Dashboard/ScheduleController.php @@ -95,10 +95,10 @@ class ScheduleController extends Controller { try { $incident = dispatch(new ReportMaintenanceCommand( - Binput::get('incident.name'), - Binput::get('incident.message'), - Binput::get('incident.notify'), - Binput::get('incident.scheduled_at') + Binput::get('name'), + Binput::get('message'), + Binput::get('notify'), + Binput::get('scheduled_at') )); } catch (ValidationException $e) { return Redirect::route('dashboard.schedule.add') diff --git a/resources/views/dashboard/schedule/add.blade.php b/resources/views/dashboard/schedule/add.blade.php index d53df32c..e4a39ab1 100644 --- a/resources/views/dashboard/schedule/add.blade.php +++ b/resources/views/dashboard/schedule/add.blade.php @@ -16,7 +16,7 @@ @include('dashboard.partials.errors')