Skip to content

Commit

Permalink
Fix cache key generation for IMP print page
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Mar 25, 2014
1 parent 8d44003 commit 971f0fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imp/lib/Contents/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,8 @@ public function printAttach($id)

$css_list = $page_output->css->getStylesheets();
foreach ($css_list as $val) {
$cache_list[] = $val;
$cache_list[] = filemtime($val);
$cache_list[] = $val['fs'];
$cache_list[] = filemtime($val['fs']);
}
$cache_id = 'imp_printcss_' . hash(
(PHP_MINOR_VERSION >= 4) ? 'fnv132' : 'sha1',
Expand Down

0 comments on commit 971f0fa

Please sign in to comment.