From c145d77c2268d3f81f2e43cf60bcb530811a0e4d Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Fri, 10 Mar 2023 14:37:33 +0100 Subject: [PATCH] fix possible PHP warning Signed-off-by: Arthur Schiwon --- apps/workflowengine/lib/Check/FileSystemTags.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/workflowengine/lib/Check/FileSystemTags.php b/apps/workflowengine/lib/Check/FileSystemTags.php index 008f47eca78..a920cd52a31 100644 --- a/apps/workflowengine/lib/Check/FileSystemTags.php +++ b/apps/workflowengine/lib/Check/FileSystemTags.php @@ -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;