1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-05 18:52:44 +01:00

fix task status id on update

This commit is contained in:
David Bomba 2020-10-30 08:00:35 +11:00
parent afa5f2338c
commit ba6c45c08a

View File

@ -50,6 +50,10 @@ class UpdateTaskRequest extends Request
{
$input = $this->decodePrimaryKeys($this->all());
if (array_key_exists('status_id', $input) && is_string($input['status_id'])) {
$input['status_id'] = $this->decodePrimaryKey($input['status_id']);
}
$this->replace($input);
}
}