From 8a6f393440bae01e313ab668527ddfa0cce8c122 Mon Sep 17 00:00:00 2001 From: morgan Date: Thu, 21 Nov 2024 16:17:48 +0100 Subject: [PATCH] Fix getLocalChannelConfigurationValidator errors --- classes/Task/Miscellaneous/UpdateConfig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Task/Miscellaneous/UpdateConfig.php b/classes/Task/Miscellaneous/UpdateConfig.php index 89749498e..3623a7d73 100644 --- a/classes/Task/Miscellaneous/UpdateConfig.php +++ b/classes/Task/Miscellaneous/UpdateConfig.php @@ -77,7 +77,7 @@ public function run(): int $error = $this->container->getConfigurationValidator()->validate($config); if ($isLocal && empty($error)) { - $this->container->getLocalChannelConfigurationValidator()->validate($config); + $error = $this->container->getLocalChannelConfigurationValidator()->validate($config); } if (!empty($error)) {