summaryrefslogtreecommitdiff
path: root/libs/sysplugins/smarty_internal_compile_private_registered_block.php
diff options
context:
space:
mode:
authorUwe.Tews <uwe.tews@localhost>2010-02-02 20:09:57 +0000
committerUwe.Tews <uwe.tews@localhost>2010-02-02 20:09:57 +0000
commitfde7a592f4c717a0065acc673b40d14f3c373210 (patch)
treef21087ba35b137fffcd5b91bf732ed2ec3fdb529 /libs/sysplugins/smarty_internal_compile_private_registered_block.php
parent3c88d12e0096263ba2f472dcf202fce74efd9cd4 (diff)
downloadsmarty-fde7a592f4c717a0065acc673b40d14f3c373210.tar.gz
smarty-fde7a592f4c717a0065acc673b40d14f3c373210.tar.bz2
smarty-fde7a592f4c717a0065acc673b40d14f3c373210.zip
- retaining newlines at registered functions and function plugins
Diffstat (limited to 'libs/sysplugins/smarty_internal_compile_private_registered_block.php')
-rw-r--r--libs/sysplugins/smarty_internal_compile_private_registered_block.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/sysplugins/smarty_internal_compile_private_registered_block.php b/libs/sysplugins/smarty_internal_compile_private_registered_block.php
index 218ec0e6..179929ac 100644
--- a/libs/sysplugins/smarty_internal_compile_private_registered_block.php
+++ b/libs/sysplugins/smarty_internal_compile_private_registered_block.php
@@ -72,7 +72,7 @@ class Smarty_Internal_Compile_Private_Registered_Block extends Smarty_Internal_C
$output = '<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo call_user_func_array(array(\'' . $function[0] . '\',\'' . $function[1] . '\'),array(' . $_params . ', $_block_content, $_smarty_tpl->smarty, $_block_repeat, $_smarty_tpl)); }?>';
}
}
- return $output;
+ return $output."\n";
}
}