Skip to content

Commit

Permalink
[Templating] fixed CacheLoader when more options are given
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Feb 2, 2010
1 parent 8427af6 commit 6ef1f07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Components/Templating/Loader/CacheLoader.php
Expand Up @@ -61,7 +61,7 @@ public function load($template, array $options = array())
{
$options = $this->mergeDefaultOptions($options);

$path = $this->dir.DIRECTORY_SEPARATOR.md5($template.$options['renderer']).'.tpl';
$path = $this->dir.DIRECTORY_SEPARATOR.md5($template.serialize($options)).'.tpl';

if ($this->loader instanceof CompilableLoaderInterface)
{
Expand Down

0 comments on commit 6ef1f07

Please sign in to comment.