diff --git a/src/includes/class/class.LSattr_ldap_sambaAcctFlags.php b/src/includes/class/class.LSattr_ldap_sambaAcctFlags.php index 4e101a76..01324c77 100644 --- a/src/includes/class/class.LSattr_ldap_sambaAcctFlags.php +++ b/src/includes/class/class.LSattr_ldap_sambaAcctFlags.php @@ -61,6 +61,8 @@ class LSattr_ldap_sambaAcctFlags extends LSattr_ldap { * @retval array Array of enabled flags **/ public static function parse_flags($data) { + if (!$data) + return array(); $data = ensureIsArray($data); if (count($data) > 1) { LSerror :: addErrorCode('LSattr_ldap_sambaAcctFlags_01');