From a4842f9e5c545b8f6bef0b69372cb9d3144428ee Mon Sep 17 00:00:00 2001 From: odain Date: Thu, 27 Aug 2020 09:37:10 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B02996=20-=20Remove=20iTop=20version=20fro?= =?UTF-8?q?m=20css-variable.scss=20Fix=20PCRE=20non=20backward=20compatibi?= =?UTF-8?q?lity=20between=20PHP=207.2=20and=207.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/themehandler.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/themehandler.class.inc.php b/application/themehandler.class.inc.php index dc07cd5a3..8c1aca10c 100644 --- a/application/themehandler.class.inc.php +++ b/application/themehandler.class.inc.php @@ -580,7 +580,7 @@ CSS; if (!array_key_exists($path, $aCompleteUrls) && !array_key_exists($path, $aToCompleteUrls)) { - if (preg_match_all("/\\$([\w-_]+)/", $path, $aCurrentVars)) + if (preg_match_all("/\\$([\w\-_]+)/", $path, $aCurrentVars)) { /** @var string $aCurrentVars */ foreach ($aCurrentVars[1] as $var)