From 3212ff3e2bf0b1de498a8aebebb980e136f2f008 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Sun, 29 Jun 2014 17:33:24 -0700 Subject: [PATCH] Fix bug with report header cache persistance on report list page. Fixes #149 --- 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 b9beeb52..cd65e3d6 100644 --- a/lib/PhpReports/PhpReports.php +++ b/lib/PhpReports/PhpReports.php @@ -349,7 +349,7 @@ protected static function getReportHeaders($report) { //the url parameter ?nocache will bypass this and not use cache $data =false; if(!isset($_REQUEST['nocache'])) { - $data = FileSystemCache::retrieve($cacheKey, filemtime($report)); + $data = FileSystemCache::retrieve($cacheKey, filemtime(Report::getFileLocation($report))); } //report data not cached, need to parse it