Skip to content

Commit

Permalink
fix include cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Acosta committed Aug 25, 2012
1 parent bad5fa9 commit 396c5d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/rain.tpl.class.php
Expand Up @@ -440,7 +440,7 @@ protected function compileCode( $parsed_code ){

//include
$compiled_code .= '<?php $tpl = new '.get_called_class().';' .
'if( $cache = $tpl->cache( "'.$include_var.'" ) )' .
'if( $cache = $tpl->cache( "'.$include_template.'" ) )' .
' echo $cache;' .
'else{' .
'$tpl->assign( $this->var );' .
Expand Down

0 comments on commit 396c5d1

Please sign in to comment.