mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 20:44:35 -04:00
fix task status id on update
This commit is contained in:
parent
afa5f2338c
commit
ba6c45c08a
@ -50,6 +50,10 @@ class UpdateTaskRequest extends Request
|
|||||||
{
|
{
|
||||||
$input = $this->decodePrimaryKeys($this->all());
|
$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);
|
$this->replace($input);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user