Skip to content

Commit

Permalink
Fix in ChainLoader.php
Browse files Browse the repository at this point in the history
The LoaderInterface requires the time to be passed.
  • Loading branch information
janschoenherr authored and fabpot committed Oct 10, 2013
1 parent c7117a7 commit 7c9a759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Loader/ChainLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function load(TemplateReferenceInterface $template)
public function isFresh(TemplateReferenceInterface $template, $time)
{
foreach ($this->loaders as $loader) {
return $loader->isFresh($template);
return $loader->isFresh($template, $time);
}

return false;
Expand Down

0 comments on commit 7c9a759

Please sign in to comment.