fix possible PHP warning

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2023-03-10 14:37:33 +01:00
parent 9631394982
commit c145d77c22
No known key found for this signature in database
GPG key ID: 7424F1874854DF23

View file

@ -120,6 +120,9 @@ class FileSystemTags implements ICheck, IFileCheck {
}
}
if (!$systemTags) {
return [];
}
$systemTags = call_user_func_array('array_merge', $systemTags);
$systemTags = array_unique($systemTags);
return $systemTags;