mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 07:12:26 +02:00
N°620 - Fixed regression introduced in r4519: Portal: Url in notifications were broken since iTop 2.3.3.
SVN:trunk[4554]
This commit is contained in:
@@ -70,13 +70,13 @@ class iTopPortalEditUrlMaker implements iDBObjectURLMaker
|
|||||||
$sPortalAbsoluteUrl = utils::GetAbsoluteUrlModulePage($sPortalId, 'index.php');
|
$sPortalAbsoluteUrl = utils::GetAbsoluteUrlModulePage($sPortalId, 'index.php');
|
||||||
if (strpos($sPortalAbsoluteUrl, '?') !== false)
|
if (strpos($sPortalAbsoluteUrl, '?') !== false)
|
||||||
{
|
{
|
||||||
$sUrl = substr($sPortalAbsoluteUrl, 0, strpos($sPortalAbsoluteUrl, '?')).$sObjectQueryString;
|
$sUrl = substr($sPortalAbsoluteUrl, 0, strpos($sPortalAbsoluteUrl, '?')).$sObjectQueryString.substr($sPortalAbsoluteUrl, strpos($sPortalAbsoluteUrl, '?'));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$sUrl = $sPortalAbsoluteUrl.$sObjectQueryString;
|
$sUrl = $sPortalAbsoluteUrl.$sObjectQueryString;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $sUrl;
|
return $sUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user