mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°2982 - small enhancement to fetch images in themes
This commit is contained in:
@@ -606,6 +606,10 @@ CSS;
|
||||
{
|
||||
foreach ($aMatches[1] as $path)
|
||||
{
|
||||
$iRemainingClosingParenthesisPos = strpos($path, ')');
|
||||
if ($iRemainingClosingParenthesisPos !== false){
|
||||
$path = substr($path, 0, $iRemainingClosingParenthesisPos);
|
||||
}
|
||||
if (!array_key_exists($path, $aCompleteUrls)
|
||||
&& !array_key_exists($path, $aToCompleteUrls))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user