Merge pull request #1622 from CachetHQ/fix-scheduled-templates

Scheduled maintenance templates now work
This commit is contained in:
James Brooks
2016-03-16 17:55:59 +00:00
2 changed files with 9 additions and 9 deletions
@@ -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')