From 2992926f96aeb15f1251354b9c6770d3c62e1e02 Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Sun, 22 Jul 2001 20:39:11 +0000 Subject: [PATCH] changed the order of the link values, the sessionid is now the last one now you can place the cursor over the link, and the important values --- phpgwapi/inc/class.sessions.inc.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/phpgwapi/inc/class.sessions.inc.php b/phpgwapi/inc/class.sessions.inc.php index 7cad2ce915..108560e062 100644 --- a/phpgwapi/inc/class.sessions.inc.php +++ b/phpgwapi/inc/class.sessions.inc.php @@ -588,9 +588,9 @@ } else { - $url .= '?sessionid=' . @$phpgw_info['user']['sessionid']; - $url .= '&kp3=' . $kp3; - $url .= '&domain=' . @$phpgw_info['user']['domain']; + $sessionID = 'sessionid=' . @$phpgw_info['user']['sessionid']; + $sessionID .= '&kp3=' . $kp3; + $sessionID .= '&domain=' . @$phpgw_info['user']['domain']; // This doesn't belong in the API. // Its up to the app to pass this value. (jengo) // Putting it into the app requires a massive number of updates in email app. @@ -603,7 +603,11 @@ if ($extravars) { - $url .= '&' . $extravars; + $url .= '?' . $extravars . '&' . $sessionID; + } + else + { + $url .= '?' . $sessionID; } }