From ecb5c84d5d00db0c4f575d842af781256224b65a Mon Sep 17 00:00:00 2001 From: "Uwe.Tews" Date: Thu, 22 Oct 2009 13:08:43 +0000 Subject: [PATCH] - fix trimwhitespace outputfilter parameter --- change_log.txt | 3 +++ libs/plugins/outputfilter.trimwhitespace.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/change_log.txt b/change_log.txt index c91503e7..f712d0f3 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,3 +1,6 @@ +10/22/2009 +- fix trimwhitespace outputfilter parameter + 10/21/2009 - added {$foo++}{$foo--} syntax - buxfix changed PHP "if (..):" to "if (..){" because of possible bad code when concenating PHP tags diff --git a/libs/plugins/outputfilter.trimwhitespace.php b/libs/plugins/outputfilter.trimwhitespace.php index 1909cd76..60f0ca73 100644 --- a/libs/plugins/outputfilter.trimwhitespace.php +++ b/libs/plugins/outputfilter.trimwhitespace.php @@ -26,7 +26,7 @@ * @param object &$smarty Smarty object * @return string filtered output */ -function smarty_outputfilter_trimwhitespace($source, &$smarty) +function smarty_outputfilter_trimwhitespace($source, $smarty) { // Pull out the script blocks preg_match_all("!]*?>.*?!is", $source, $match);