diff options
author | plegall <plg@piwigo.org> | 2016-01-21 15:10:02 +0100 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2016-01-21 15:10:02 +0100 |
commit | d33051cb7236a930c1baf879fee75e92c35a93ee (patch) | |
tree | 4f7c596268420cc670cbbf767d941fadb07a1b26 /include/smarty/libs/sysplugins/smarty_internal_runtime_codeframe.php | |
parent | 491464355911334ecbf49b742545286e82961112 (diff) |
update to Smarty 3.1.29
Diffstat (limited to 'include/smarty/libs/sysplugins/smarty_internal_runtime_codeframe.php')
-rw-r--r-- | include/smarty/libs/sysplugins/smarty_internal_runtime_codeframe.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/smarty/libs/sysplugins/smarty_internal_runtime_codeframe.php b/include/smarty/libs/sysplugins/smarty_internal_runtime_codeframe.php index 21e6e5221..ce6749770 100644 --- a/include/smarty/libs/sysplugins/smarty_internal_runtime_codeframe.php +++ b/include/smarty/libs/sysplugins/smarty_internal_runtime_codeframe.php @@ -89,6 +89,6 @@ class Smarty_Internal_Runtime_CodeFrame $output .= $functions; $output .= "<?php }\n"; // remove unneeded PHP tags - return preg_replace('/\s*\?>[\n]?<\?php\s*/', "\n", $output); + return preg_replace(array('/\s*\?>[\n]?<\?php\s*/', '/\?>\s*$/'), array("\n", ''), $output); } }
\ No newline at end of file |