mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Add missing h() calls to exception stack traces.
This commit is contained in:
parent
b533c1b3ba
commit
a49c69acc4
1 changed files with 2 additions and 2 deletions
|
@ -55,10 +55,10 @@ App::uses('Debugger', 'Utility');
|
|||
'<a href="#" onclick="traceToggle(event, \'trace-args-%s\')">%s(%s)</a> ',
|
||||
$i,
|
||||
$called,
|
||||
implode(', ', $args)
|
||||
h(implode(', ', $args))
|
||||
);
|
||||
$arguments = sprintf('<div id="trace-args-%s" class="cake-code-dump" style="display: none;"><pre>', $i);
|
||||
$arguments .= implode("\n", $params);
|
||||
$arguments .= h(implode("\n", $params));
|
||||
$arguments .= '</pre></div>';
|
||||
endif;
|
||||
echo $excerpt;
|
||||
|
|
Loading…
Reference in a new issue