Silence some PHP warnings

This commit is contained in:
nathan 2023-11-20 16:13:11 -07:00
parent 441f90d92e
commit fa71d9d450

View File

@ -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;
}
/**