ServiceController: keep applied service when sent
This commit is contained in:
parent
7dfadf1951
commit
4b183203f9
|
@ -73,11 +73,9 @@ class ServiceController extends ObjectController
|
|||
protected function beforeHandlingAddRequest($form)
|
||||
{
|
||||
if ($this->apply) {
|
||||
if (!$form->hasBeenSent()) {
|
||||
$form->createApplyRuleFor($this->apply);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function editAction()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue