mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 18:33:39 +01:00
Silence some PHP warnings
This commit is contained in:
parent
a06c6118e1
commit
a97e34c29a
@ -794,7 +794,7 @@ class Storage extends Storage\Base
|
||||
*/
|
||||
function is_cf($field)
|
||||
{
|
||||
return $field[0] == self::CF_PREFIX;
|
||||
return !empty($field) && $field[0] == self::CF_PREFIX;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user