diff --git a/phpgwapi/inc/class.sessions.inc.php b/phpgwapi/inc/class.sessions.inc.php index c29db511b4..f5af938595 100644 --- a/phpgwapi/inc/class.sessions.inc.php +++ b/phpgwapi/inc/class.sessions.inc.php @@ -1147,7 +1147,7 @@ if (!is_array($extravars) && $extravars != '') { $new_extravars = Array(); - foreach(explode('&',str_replace('&','&',$extravars)) as $expr) + foreach(explode('&',$extravars) as $expr) { list($var,$val) = explode('=', $expr,2); $new_extravars[$var] = $val; @@ -1172,7 +1172,7 @@ { $query[] = $key.'='.urlencode($value); } - $url .= '?' . implode('&',$query); + $url .= '?' . implode('&',$query); } //echo " = '$url'

\n"; return $url;