(Retrofit from trunk) N°620 - Fixed regression introduced in r4519: Portal: Url in notifications were broken since iTop 2.3.3.

SVN:2.3[4555]
This commit is contained in:
Guillaume Lajarige
2017-02-21 09:11:24 +00:00
parent f7f4fbce51
commit 47587fb97e

View File

@@ -70,13 +70,13 @@ class iTopPortalEditUrlMaker implements iDBObjectURLMaker
$sPortalAbsoluteUrl = utils::GetAbsoluteUrlModulePage($sPortalId, 'index.php');
if (strpos($sPortalAbsoluteUrl, '?') !== false)
{
$sUrl = substr($sPortalAbsoluteUrl, 0, strpos($sPortalAbsoluteUrl, '?')).$sObjectQueryString;
$sUrl = substr($sPortalAbsoluteUrl, 0, strpos($sPortalAbsoluteUrl, '?')).$sObjectQueryString.substr($sPortalAbsoluteUrl, strpos($sPortalAbsoluteUrl, '?'));
}
else
{
$sUrl = $sPortalAbsoluteUrl.$sObjectQueryString;
}
return $sUrl;
}