From b976659346dfb182201fc9f575c2a7cd34a68044 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 30 Mar 2009 08:17:28 +0000 Subject: [PATCH] "removed unnecessary ambersand in url creation, if no extravars" --- phpgwapi/inc/class.egw_session.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.egw_session.inc.php b/phpgwapi/inc/class.egw_session.inc.php index c32d05c175..053f082c1a 100644 --- a/phpgwapi/inc/class.egw_session.inc.php +++ b/phpgwapi/inc/class.egw_session.inc.php @@ -510,7 +510,7 @@ class egw_session session_regenerate_id(true); } $this->sessionid = $no_session ? 'no-session' : session_id(); - $this->kp3 = $GLOBALS['egw']->common->randomstring(24); + $this->kp3 = common::randomstring(24); unset($GLOBALS['egw_info']['server']['default_domain']); // we kill this for security reasons @@ -1020,7 +1020,7 @@ class egw_session } else { - if ($othervars) $extravars .= '&'.$othervars; + if ($othervars) $extravars .= ($extravars?'&':'').$othervars; } // parse extravars string into the vars array