summaryrefslogtreecommitdiff
path: root/lib/smarty3/sysplugins/smarty_internal_compile_ldelim.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/smarty3/sysplugins/smarty_internal_compile_ldelim.php')
-rw-r--r--lib/smarty3/sysplugins/smarty_internal_compile_ldelim.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/smarty3/sysplugins/smarty_internal_compile_ldelim.php b/lib/smarty3/sysplugins/smarty_internal_compile_ldelim.php
index 7251dcd..5493d4e 100644
--- a/lib/smarty3/sysplugins/smarty_internal_compile_ldelim.php
+++ b/lib/smarty3/sysplugins/smarty_internal_compile_ldelim.php
@@ -20,7 +20,7 @@ class Smarty_Internal_Compile_Ldelim extends Smarty_Internal_CompileBase
* Compiles code for the {ldelim} tag
* This tag does output the left delimiter
*
- * @param array $args array with attributes from parser
+ * @param array $args array with attributes from parser
* @param \Smarty_Internal_TemplateCompilerBase $compiler compiler object
*
* @return string compiled code
@@ -32,9 +32,6 @@ class Smarty_Internal_Compile_Ldelim extends Smarty_Internal_CompileBase
if ($_attr[ 'nocache' ] === true) {
$compiler->trigger_template_error('nocache option not allowed', null, true);
}
- // this tag does not return compiled code
- $compiler->has_code = true;
-
return $compiler->smarty->left_delimiter;
}
}