mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Fixes for assigned_user_id and group_id not sticking to subscriptions
This commit is contained in:
parent
b1e6325ef8
commit
9cb8e865fc
@ -64,6 +64,8 @@ class StoreSubscriptionRequest extends Request
|
||||
{
|
||||
$input = $this->all();
|
||||
|
||||
$input = $this->decodePrimaryKeys($input);
|
||||
|
||||
$this->replace($input);
|
||||
}
|
||||
}
|
||||
|
@ -42,4 +42,13 @@ class UpdateSubscriptionRequest extends Request
|
||||
return $this->globalRules($rules);
|
||||
|
||||
}
|
||||
|
||||
protected function prepareForValidation()
|
||||
{
|
||||
$input = $this->all();
|
||||
|
||||
$input = $this->decodePrimaryKeys($input);
|
||||
|
||||
$this->replace($input);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user