Skip to content

Commit

Permalink
Fix fatal error when exception is thrown too early in the render loop.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdorn committed Sep 6, 2017
1 parent a3663e6 commit a8dd7fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PhpReports/PhpReports.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public static function displayReport($report,$type) {
}
catch(Exception $e) {
echo self::render('html/page',array(
'title'=>'Report: '.$report,
'title'=>'Report',
'header'=>'<h2>'.$error_header.'</h2>',
'error'=>$e->getMessage(),
'content'=>$content,
Expand Down

0 comments on commit a8dd7fc

Please sign in to comment.