From a8dd7fcd18c9ec306e3fb75190bbeede4f897a70 Mon Sep 17 00:00:00 2001 From: Jeremy Dorn Date: Wed, 6 Sep 2017 09:09:32 -0400 Subject: [PATCH] Fix fatal error when exception is thrown too early in the render loop. --- lib/PhpReports/PhpReports.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PhpReports/PhpReports.php b/lib/PhpReports/PhpReports.php index db09a469..9247769c 100644 --- a/lib/PhpReports/PhpReports.php +++ b/lib/PhpReports/PhpReports.php @@ -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'=>'

'.$error_header.'

', 'error'=>$e->getMessage(), 'content'=>$content,