mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°3677 - Fix AttributeImage.default_image URLs not up to date after app_root_url change (#526)
Many thanks to @sg-gcouronne for this contribution !
This commit is contained in:
@@ -2348,7 +2348,7 @@ EOF
|
||||
break;
|
||||
case 'default_image':
|
||||
if (($sDefault = $oField->GetChildText('default_image')) && (strlen($sDefault) > 0)) {
|
||||
$aParameters['default_image'] = "utils::GetAbsoluteUrlModulesRoot().'$sModuleRelativeDir/$sDefault'";
|
||||
$aParameters['default_image'] = "'$sModuleRelativeDir/$sDefault'";
|
||||
} else {
|
||||
$aParameters['default_image'] = 'null';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user