N°2996 - Remove iTop version from css-variable.scss

Fix PCRE non backward compatibility between PHP 7.2 and 7.3
This commit is contained in:
odain
2020-08-27 09:37:10 +02:00
parent 9a0d9d2c38
commit a4842f9e5c

View File

@@ -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)