Fix issue when showing exception
authorMatthias Schmidt <gravatronics@live.com>
Fri, 8 Apr 2016 20:08:08 +0000 (22:08 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 8 Apr 2016 20:08:08 +0000 (22:08 +0200)
wcfsetup/install/files/lib/core.functions.php

index 8b1b80639854ff46093e7e7cd86337352c4a6d63..58c01b9f2b08e82a48f0c2eb06fb9763a5b6ee22 100644 (file)
@@ -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') {