mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX: Invalid argument warning in backtrace
This commit is contained in:
parent
b24c289892
commit
6b15bd6dd4
@ -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