mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 03:44:26 +02:00
- fixed execution of filters defined by classes
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
04/09/2009
|
||||
- fixed execution of filters defined by classes
|
||||
- compile the always the content of {block} tags to make shure that the filters are running over it
|
||||
- syntax corrections on variable object property
|
||||
- syntax corrections on array access in dot syntax
|
||||
|
@@ -50,8 +50,8 @@ class Smarty_Internal_Run_Filter extends Smarty_Internal_Base {
|
||||
}
|
||||
// loop over registerd filters of specified type
|
||||
if (!empty($this->smarty->registered_filters[$type])) {
|
||||
foreach ($this->smarty->registered_filters[$type] as $name) {
|
||||
$output = call_user_func_array($this->smarty->registered_filters[$type][$name], array($output, $this->smarty));
|
||||
foreach ($this->smarty->registered_filters[$type] as $key => $name) {
|
||||
$output = call_user_func_array($this->smarty->registered_filters[$type][$key], array($output, $this->smarty));
|
||||
}
|
||||
}
|
||||
// return filtered output
|
||||
|
Reference in New Issue
Block a user