mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-10-07 10:32:11 +02:00
modified link() to allow also a array as second parameter
This commit is contained in:
parent
2992926f96
commit
bfa73cc185
@ -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 (isset($phpgw_info['server']['usecookies']) && $phpgw_info['server']['usecookies'])
|
||||||
{
|
{
|
||||||
if ($extravars)
|
if ($extravars)
|
||||||
|
Loading…
Reference in New Issue
Block a user