Skip to content

Commit 8a0a612

Browse files
committed
Merge branch '5.5' into 6.0
2 parents b641c62 + 9821ae3 commit 8a0a612

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

wcfsetup/install/files/lib/system/exception/AJAXException.class.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,11 @@ public function __construct(
108108
unset($returnValues['line']);
109109
}
110110

111+
// Strip the extra information unless the stacktrace should be included.
112+
if (!$includeStacktrace) {
113+
$extraInformation = [];
114+
}
115+
111116
$responseData = [
112117
'code' => $errorType,
113118
'file' => $file,

0 commit comments

Comments
 (0)