From 2ee674f11b9953c56d0138e1440a8cfaa77d043e Mon Sep 17 00:00:00 2001 From: Guillaume Lajarige Date: Tue, 21 Feb 2017 09:06:03 +0000 Subject: [PATCH] =?UTF-8?q?N=C2=B0620=20-=20Fixed=20regression=20introduce?= =?UTF-8?q?d=20in=20r4519:=20Portal:=20Url=20in=20notifications=20were=20b?= =?UTF-8?q?roken=20since=20iTop=202.3.3.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SVN:trunk[4554] --- datamodels/2.x/itop-portal/main.itop-portal.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datamodels/2.x/itop-portal/main.itop-portal.php b/datamodels/2.x/itop-portal/main.itop-portal.php index d27479ae85..a404d5f9a3 100644 --- a/datamodels/2.x/itop-portal/main.itop-portal.php +++ b/datamodels/2.x/itop-portal/main.itop-portal.php @@ -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; }