mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #10430 from kinglozzer/backtrace
FIX: Invalid argument warning in backtrace
This commit is contained in:
commit
051e74a289
@ -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>';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user