Skip to content
Snippets Groups Projects
Commit 9704d295 authored by Nicole Cordes's avatar Nicole Cordes Committed by Georg Ringer
Browse files

[BUGFIX] Prevent fatal error in DebugExceptionHandler

This patch fixes an error if no argument was given for a trace step.

Resolves: #86211
Releases: master
Change-Id: Iee26940df2c463fc0badde245f9da92e73f6740e
Reviewed-on: https://review.typo3.org/58242


Reviewed-by: default avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: default avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent 9b1802c2
Branches
Tags
No related merge requests found
......@@ -394,7 +394,7 @@ STYLESHEET;
foreach ($trace as $index => $step) {
$content .= '<div class="trace-step">';
$args = $this->flattenArgs($step['args']);
$args = $this->flattenArgs($step['args'] ?? []);
if (isset($step['function'])) {
$content .= '<div class="trace-call">' . sprintf(
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment