From 419fa31d6e9ccf06ba9a65027ae26a7264f1a23c Mon Sep 17 00:00:00 2001 From: James Brooks Date: Wed, 16 Mar 2016 17:40:26 +0000 Subject: [PATCH] Fixes #1620 --- app/Http/Controllers/Dashboard/ScheduleController.php | 8 ++++---- resources/views/dashboard/schedule/add.blade.php | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) 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')
- +
@if($incident_templates->count() > 0)
@@ -31,22 +31,22 @@ @endif
- +
- +
- +
@if(subscribers_enabled())