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:
Ralf Becker 2005-11-08 20:03:46 +00:00
parent c84bb21068
commit cd102084d5

View File

@ -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;