FIX: Invalid argument warning in backtrace

This commit is contained in:
Loz Calver 2022-08-01 09:08:52 +01:00
parent b24c289892
commit 6b15bd6dd4

View File

@ -122,7 +122,7 @@ class Backtrace
}
}
if ($match) {
foreach ($bt[$i]['args'] as $j => $arg) {
foreach ($bt[$i]['args'] ?? [] as $j => $arg) {
$bt[$i]['args'][$j] = '<filtered>';
}
}