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