mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
fix for bug #944311: Calendar: Error on user-defined fields
This commit is contained in:
parent
866152c11a
commit
273f6b0a2f
@ -1193,7 +1193,7 @@
|
||||
);
|
||||
foreach(array('order','sort') as $name)
|
||||
{
|
||||
if (isset($GLOBALS[$where][$name]) && !preg_match($pregs[$name],$GLOBALS[$where][$name]))
|
||||
if (isset($GLOBALS[$where][$name]) && !is_array($GLOBALS[$where][$name]) && !preg_match($pregs[$name],$GLOBALS[$where][$name]))
|
||||
{
|
||||
$GLOBALS[$where][$name] = '';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user