Skip to content

Commit

Permalink
Fix bug with report header cache persistance on report list page. Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jdorn committed Jun 30, 2014
1 parent f73f117 commit 3212ff3
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 @@ -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
Expand Down

0 comments on commit 3212ff3

Please sign in to comment.