From 06096191c5ca695c83fec60275a4cf9b56281390 Mon Sep 17 00:00:00 2001 From: Uwe Tews Date: Mon, 6 Jul 2015 03:41:37 +0200 Subject: [PATCH] - optimize {block} compilation --- libs/sysplugins/smarty_internal_compile_block.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/sysplugins/smarty_internal_compile_block.php b/libs/sysplugins/smarty_internal_compile_block.php index b1ab8046..8c4086f7 100644 --- a/libs/sysplugins/smarty_internal_compile_block.php +++ b/libs/sysplugins/smarty_internal_compile_block.php @@ -388,7 +388,7 @@ class Smarty_Internal_Compile_Private_Child_Block extends Smarty_Internal_Compil $save = array($_attr, $compiler->nocache); // set trace back to child block - $compiler->pushTrace(trim($_attr['file'], "\"'"), $uid, $_attr['line'] - $compiler->lex->line); + $compiler->pushTrace($compiler->template->source->filepath, $uid, $_attr['line'] - $compiler->lex->line); $this->openTag($compiler, 'private_child_block', $save);