From: Matthias Schmidt Date: Fri, 8 Apr 2016 20:08:08 +0000 (+0200) Subject: Fix issue when showing exception X-Git-Tag: 3.0.0_Beta_1~1940 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=335aae2b809dd9d6156b490d517a1148eda7dce5;p=GitHub%2FWoltLab%2FWCF.git Fix issue when showing exception --- 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') {