mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
IcingaException: Fix Variable '$index' is probably undefined
This commit is contained in:
parent
6baf3bc80a
commit
80b76c6f7d
@ -79,6 +79,7 @@ class IcingaException extends Exception
|
||||
{
|
||||
$trace = array();
|
||||
|
||||
$index = 0;
|
||||
foreach ($exception->getTrace() as $index => $frame) {
|
||||
$trace[] = isset($frame['file'])
|
||||
? "#{$index} {$frame['file']}({$frame['line']}): "
|
||||
|
Loading…
x
Reference in New Issue
Block a user