aboutsummaryrefslogtreecommitdiffstats
path: root/include/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2016-01-21 15:10:02 +0100
committerplegall <plg@piwigo.org>2016-01-21 15:10:02 +0100
commitd33051cb7236a930c1baf879fee75e92c35a93ee (patch)
tree4f7c596268420cc670cbbf767d941fadb07a1b26 /include/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php
parent491464355911334ecbf49b742545286e82961112 (diff)
update to Smarty 3.1.29
Diffstat (limited to '')
-rw-r--r--include/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php b/include/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php
index 4b664c38e..9af266758 100644
--- a/include/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php
+++ b/include/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php
@@ -60,11 +60,7 @@ class Smarty_Internal_Runtime_FilterHandler
// loop over registered filters of specified type
if (!empty($template->smarty->registered_filters[$type])) {
foreach ($template->smarty->registered_filters[$type] as $key => $name) {
- if (is_array($template->smarty->registered_filters[$type][$key])) {
- $content = call_user_func($template->smarty->registered_filters[$type][$key], $content, $template);
- } else {
- $content = $template->smarty->registered_filters[$type][$key]($content, $template);
- }
+ $content = call_user_func($template->smarty->registered_filters[$type][$key], $content, $template);
}
}
// return filtered output