Skip to content

Commit abe5555

Browse files
minor symfony#52088 [ErrorHandler] Fix file link format call in trace view (fancyweb)
This PR was merged into the 6.4 branch. Discussion ---------- [ErrorHandler] Fix file link format call in trace view | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | no | License | MIT Leftover from symfony#50734 Commits ------- c2f01c2 [ErrorHandler] Fix file link format call in trace view
2 parents 3fb0e11 + c2f01c2 commit abe5555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/ErrorHandler/Resources/views/trace.html.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<?php if ($trace['file']) { ?>
1212
<?php
1313
$lineNumber = $trace['line'] ?: 1;
14-
$fileLink = $this->getFileLink($trace['file'], $lineNumber);
14+
$fileLink = $this->fileLinkFormat->format($trace['file'], $lineNumber);
1515
$filePath = strtr(strip_tags($this->formatFile($trace['file'], $lineNumber)), [' at line '.$lineNumber => '']);
1616
$filePathParts = explode(\DIRECTORY_SEPARATOR, $filePath);
1717
?>

0 commit comments

Comments
 (0)