Browse Source

N°620 - Fixed regression introduced in r4519: Portal: Url in notifications were broken since iTop 2.3.3.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4554 a333f486-631f-4898-b8df-5754b55c2be0
glajarige 8 years ago
parent
commit
9f5fffbd3c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      datamodels/2.x/itop-portal/main.itop-portal.php

+ 2 - 2
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;
 	}