mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-21 21:38:55 +01:00
php < 5.1 fixes
This commit is contained in:
parent
1e478273d3
commit
bd143eec64
@ -1523,7 +1523,7 @@ if (!function_exists('array_intersect_key')) // php5.1 function
|
||||
$intersection = $keys = array();
|
||||
foreach(func_get_args() as $arr)
|
||||
{
|
||||
$keys[] = array_keys($arr);
|
||||
$keys[] = array_keys((array)$arr);
|
||||
}
|
||||
foreach(call_user_func_array('array_intersect',$keys) as $key)
|
||||
{
|
||||
|
@ -357,7 +357,7 @@ class socal
|
||||
$row['alarm'] = array();
|
||||
$row['recur_exception'] = $row['recur_exception'] ? explode(',',$row['recur_exception']) : array();
|
||||
|
||||
$events[$id] =& $row;
|
||||
$events[$id] = $row;
|
||||
}
|
||||
|
||||
if (count($events))
|
||||
|
Loading…
Reference in New Issue
Block a user