summaryrefslogtreecommitdiff
path: root/libs/sysplugins/smarty_internal_compile_ldelim.php
diff options
context:
space:
mode:
Diffstat (limited to 'libs/sysplugins/smarty_internal_compile_ldelim.php')
-rw-r--r--libs/sysplugins/smarty_internal_compile_ldelim.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/libs/sysplugins/smarty_internal_compile_ldelim.php b/libs/sysplugins/smarty_internal_compile_ldelim.php
index 99063259..5c2e4134 100644
--- a/libs/sysplugins/smarty_internal_compile_ldelim.php
+++ b/libs/sysplugins/smarty_internal_compile_ldelim.php
@@ -15,14 +15,14 @@
* @package Smarty
* @subpackage Compiler
*/
-class Smarty_Internal_Compile_Ldelim extends Smarty_Internal_CompileBase {
-
+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 object $compiler compiler object
+ * @param array $args array with attributes from parser
+ * @param object $compiler compiler object
* @return string compiled code
*/
public function compile($args, $compiler)
@@ -33,9 +33,8 @@ class Smarty_Internal_Compile_Ldelim extends Smarty_Internal_CompileBase {
}
// this tag does not return compiled code
$compiler->has_code = true;
+
return $compiler->smarty->left_delimiter;
}
}
-
-?>