mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
reverted last commit, as & in urls do not work in javascript, they only work as value in tags and we dont know for what the returnvalue of link() is used
This commit is contained in:
parent
c84bb21068
commit
cd102084d5
@ -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'</p>\n";
|
||||
return $url;
|
||||
|
Loading…
Reference in New Issue
Block a user