From ba23f6b548c36739eb5a7714ab1c002073157b26 Mon Sep 17 00:00:00 2001 From: flox_x <93255373+flooxo@users.noreply.github.com> Date: Mon, 30 Oct 2023 11:34:19 +0100 Subject: [PATCH] Update apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php Co-authored-by: Simon L. Signed-off-by: flox_x <93255373+flooxo@users.noreply.github.com> --- apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php b/apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php index d0847a07f1c74..32f0ee8bdb167 100644 --- a/apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php +++ b/apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php @@ -66,7 +66,7 @@ public function beforeHandler(RequestInterface $request) { } $minimumSupportedDesktopVersion = $this->config->getSystemValue('minimum.supported.desktop.version', '2.3.0'); - $maximumSupportedDesktopVersion = $this->config->getSystemValue('maximum.supported.desktop.version', ''); + $maximumSupportedDesktopVersion = $this->config->getSystemValueString('maximum.supported.desktop.version', ''); preg_match(IRequest::USER_AGENT_CLIENT_DESKTOP, $userAgent, $versionMatches); if (isset($versionMatches[1]) && version_compare($versionMatches[1], $minimumSupportedDesktopVersion) === -1 ||