summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/lib/AppInfo
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-12-06 10:32:37 +0100
committerJulius Härtl <jus@bitgrid.net>2019-12-06 10:32:55 +0100
commitc3061e69294a8394ecd8fbbb1376e592ef4bc6d5 (patch)
tree2944f17f851450f1ac9309d080df8dbcc39b4daa /apps/workflowengine/lib/AppInfo
parentda84b36186f05c5042e109328fa5095d26fd9a74 (diff)
downloadnextcloud-server-c3061e69294a8394ecd8fbbb1376e592ef4bc6d5.tar.gz
nextcloud-server-c3061e69294a8394ecd8fbbb1376e592ef4bc6d5.zip
Make sure event names is always an array
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/workflowengine/lib/AppInfo')
-rw-r--r--apps/workflowengine/lib/AppInfo/Application.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/workflowengine/lib/AppInfo/Application.php b/apps/workflowengine/lib/AppInfo/Application.php
index 933d0cb7544..2d04e2a1bf9 100644
--- a/apps/workflowengine/lib/AppInfo/Application.php
+++ b/apps/workflowengine/lib/AppInfo/Application.php
@@ -127,7 +127,7 @@ class Application extends \OCP\AppFramework\App {
}
}
);
- }, $eventNames);
+ }, $eventNames ?? []);
}
}
}