From 47928596573a22358372a8f15140d5447b5bd225 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Sun, 6 Feb 2022 12:32:51 +0100 Subject: [PATCH] IcingaServiceForm: do not return void result --- application/forms/IcingaServiceForm.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/application/forms/IcingaServiceForm.php b/application/forms/IcingaServiceForm.php index 8de92307..d6d422d3 100644 --- a/application/forms/IcingaServiceForm.php +++ b/application/forms/IcingaServiceForm.php @@ -742,10 +742,11 @@ class IcingaServiceForm extends DirectorObjectForm public function onSuccess() { if ($this->providesOverrides()) { - return $this->succeedForOverrides(); + $this->succeedForOverrides(); + return; } - return parent::onSuccess(); + parent::onSuccess(); } /**