From 335aae2b809dd9d6156b490d517a1148eda7dce5 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 8 Apr 2016 22:08:08 +0200 Subject: [PATCH] Fix issue when showing exception --- wcfsetup/install/files/lib/core.functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wcfsetup/install/files/lib/core.functions.php b/wcfsetup/install/files/lib/core.functions.php index 8b1b806398..58c01b9f2b 100644 --- a/wcfsetup/install/files/lib/core.functions.php +++ b/wcfsetup/install/files/lib/core.functions.php @@ -494,6 +494,7 @@ EXPLANATION; if (!isset($item['line'])) $item['line'] = '?'; if (!isset($item['class'])) $item['class'] = ''; if (!isset($item['type'])) $item['type'] = ''; + if (!isset($item['args'])) $item['args'] = []; // strip database credentials if (preg_match('~\\\\?wcf\\\\system\\\\database\\\\[a-zA-Z]*Database~', $item['class']) || $item['class'] === 'PDO') { -- 2.20.1