mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
fix possible PHP warning
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
9631394982
commit
c145d77c22
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue