mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:04:53 +01:00
Silence some PHP warnings
This commit is contained in:
parent
441f90d92e
commit
fa71d9d450
@ -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