mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
fix (unexplained) infinit loop in phpUnit tests under PHP 5.6
This commit is contained in:
parent
7ac36666c5
commit
feec899337
@ -1369,11 +1369,11 @@ ORDER BY cal_user_type, cal_usre_id
|
|||||||
}
|
}
|
||||||
|
|
||||||
// add colum prefix 'cal_' if there's not already a 'recur_' prefix
|
// add colum prefix 'cal_' if there's not already a 'recur_' prefix
|
||||||
foreach($event as $col => $val)
|
foreach(array_keys($event) as $col)
|
||||||
{
|
{
|
||||||
if ($col[0] != '#' && substr($col,0,6) != 'recur_' && substr($col,0,6) != 'range_' && $col != 'alarm' && $col != 'tz_id' && $col != 'caldav_name')
|
if ($col[0] != '#' && substr($col,0,6) != 'recur_' && substr($col,0,6) != 'range_' && $col != 'alarm' && $col != 'tz_id' && $col != 'caldav_name')
|
||||||
{
|
{
|
||||||
$event['cal_'.$col] = $val;
|
$event['cal_'.$col] = $event[$col];
|
||||||
unset($event[$col]);
|
unset($event[$col]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user