modified link() to allow also a array as second parameter

This commit is contained in:
Lars Kneschke 2001-07-22 21:28:38 +00:00
parent 2992926f96
commit bfa73cc185

View File

@ -579,6 +579,18 @@
}
*/
// build the extravars string from a array
if (is_array($extravars))
{
while(list($key,$value) = each($extravars))
{
if (!empty($new_extravars)) $new_extravars .= '&';
$new_extravars .= "$key=$value";
}
$extravars = $new_extravars;
}
if (isset($phpgw_info['server']['usecookies']) && $phpgw_info['server']['usecookies'])
{
if ($extravars)