diff --git a/application/itopwebpage.class.inc.php b/application/itopwebpage.class.inc.php index 12f490a13..3e6aa818c 100644 --- a/application/itopwebpage.class.inc.php +++ b/application/itopwebpage.class.inc.php @@ -398,8 +398,9 @@ EOF { return sURL+'?'+sContext; } + return sURL+'&'+sContext; } - return sURL+'&'+sContext; + return sURL; } var oUserPreferences = $sUserPrefs; diff --git a/application/portalwebpage.class.inc.php b/application/portalwebpage.class.inc.php index 2148b1b40..412c4b7e7 100644 --- a/application/portalwebpage.class.inc.php +++ b/application/portalwebpage.class.inc.php @@ -158,8 +158,7 @@ EOF { return '$sAbsURLAppRoot'; } - - + function AddAppContext(sURL) { var sContext = '$sAppContext'; @@ -168,11 +167,12 @@ EOF if (sURL.indexOf('?') == -1) { return sURL+'?'+sContext; - } + } + return sURL+'&'+sContext; } - return sURL+'&'+sContext; + return sURL; } - + function GoBack(sFormId) { var form = $('#'+sFormId);