Skip to content

Commit

Permalink
[ErrorHandler] Fix file link format call in trace view
Browse files Browse the repository at this point in the history
  • Loading branch information
fancyweb committed Oct 17, 2023
1 parent 3fb0e11 commit c2f01c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<?php if ($trace['file']) { ?>
<?php
$lineNumber = $trace['line'] ?: 1;
$fileLink = $this->getFileLink($trace['file'], $lineNumber);
$fileLink = $this->fileLinkFormat->format($trace['file'], $lineNumber);
$filePath = strtr(strip_tags($this->formatFile($trace['file'], $lineNumber)), [' at line '.$lineNumber => '']);
$filePathParts = explode(\DIRECTORY_SEPARATOR, $filePath);
?>
Expand Down

0 comments on commit c2f01c2

Please sign in to comment.