From 94a6144a87c7bf89b761a83a00d2db874bd8b946 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 3 Dec 2024 12:56:21 +0100 Subject: [PATCH] CS fix --- program/include/rcmail_oauth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/include/rcmail_oauth.php b/program/include/rcmail_oauth.php index e1bbfc8860f..26e30c157d5 100644 --- a/program/include/rcmail_oauth.php +++ b/program/include/rcmail_oauth.php @@ -462,8 +462,8 @@ public function get_redirect_uri() // Get rid of the use_secure_urls token from the path // It can happen after you log out that the token is still in the current request path if ($len = $this->rcmail->config->get('use_secure_urls')) { - $length = $len > 1 ? $len : 16; - $url = preg_replace("~^/[0-9a-zA-Z]{{$length}}/~", '/', $url); + $length = $len > 1 ? $len : 16; + $url = preg_replace("~^/[0-9a-zA-Z]{{$length}}/~", '/', $url); } $url = rcube_utils::resolve_url($url);