Utils: fixed getTrace() including itself in trace when no alt trace is given

it always seemed a little strange that crashdump trace would pop 4 frames when only 3 are written in the comment...
This commit is contained in:
Dylan K. Taylor
2018-12-16 17:13:36 +00:00
parent bf8a8b386e
commit b80868040e
2 changed files with 2 additions and 1 deletions

View File

@ -538,6 +538,7 @@ class Utils{
$e = new \Exception();
$trace = $e->getTrace();
}
++$start; //skip this frame
}
$messages = [];