projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01c643f
)
Results from filter chains are now added in template execution time to safe some...
author
Roland Häder
<roland@mxchange.org>
Wed, 25 Nov 2009 22:28:42 +0000
(22:28 +0000)
committer
Roland Häder
<roland@mxchange.org>
Wed, 25 Nov 2009 22:28:42 +0000
(22:28 +0000)
inc/filters.php
patch
|
blob
|
history
diff --git
a/inc/filters.php
b/inc/filters.php
index 2b43a8faa82a11eb79c1653352af98eeafd59b56..4153a134631e62dbaeace69cc2ac78d7c9e6f28a 100644
(file)
--- a/
inc/filters.php
+++ b/
inc/filters.php
@@
-555,8
+555,11
@@
function FILTER_COMPILE_EXPRESSION_CODE ($code) {
break;
case 'filter':
+ // Construct replacement
+ $replacer = "\" . runFilterChain('" . $matches[4][$key] . "') . \"";
+
// Run the filter and insert result
- $code = str_replace($matches[0][$key],
runFilterChain($matches[4][$key])
, $code);
+ $code = str_replace($matches[0][$key],
$replacer
, $code);
break;
default: