We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9e47956 + 6a70b1b commit b2b930dCopy full SHA for b2b930d
1 file changed
system/Debug/Toolbar.php
@@ -405,6 +405,7 @@ public function prepare(?RequestInterface $request = null, ?ResponseInterface $r
405
$kintScript = @Kint::dump('');
406
Kint::$mode_default = $oldKintMode;
407
$kintScript = substr($kintScript, 0, strpos($kintScript, '</style>') + 8);
408
+ $kintScript = ($kintScript === '0') ? '' : $kintScript;
409
410
$script = PHP_EOL
411
. '<script type="text/javascript" ' . csp_script_nonce() . ' id="debugbar_loader" '
0 commit comments