Fix schedules.completed_at not being null. Closes #2509

This commit is contained in:
James Brooks
2017-05-06 09:57:30 +01:00
parent 0e70727e38
commit 8bace140e5
3 changed files with 17 additions and 2 deletions

View File

@@ -92,7 +92,7 @@ class CreateScheduleCommandHandler
];
$availableParams = array_filter($params, function ($val) {
return $val !== null;
return $val !== null && $val !== '';
});
return $availableParams;