From 34344915f253777c78eb07e0b0a2f2e6e9a29f7e Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Fri, 29 Jan 2016 08:44:31 +0100 Subject: [PATCH] Fix short array syntax in DashboardConfig --- library/Icinga/Legacy/DashboardConfig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Legacy/DashboardConfig.php b/library/Icinga/Legacy/DashboardConfig.php index d97c48c09..1905e6d0b 100644 --- a/library/Icinga/Legacy/DashboardConfig.php +++ b/library/Icinga/Legacy/DashboardConfig.php @@ -55,7 +55,7 @@ class DashboardConfig extends Config */ public static function listConfigFilesForUser(User $user) { - $files = []; + $files = array(); $dashboards = static::resolvePath('dashboards'); if ($handle = @opendir($dashboards)) { while (false !== ($entry = readdir($handle))) {