IcingaServiceForm: do not return void result

This commit is contained in:
Thomas Gelf 2022-02-06 12:32:51 +01:00
parent 21a67e355f
commit 4792859657

View File

@ -742,10 +742,11 @@ class IcingaServiceForm extends DirectorObjectForm
public function onSuccess() public function onSuccess()
{ {
if ($this->providesOverrides()) { if ($this->providesOverrides()) {
return $this->succeedForOverrides(); $this->succeedForOverrides();
return;
} }
return parent::onSuccess(); parent::onSuccess();
} }
/** /**