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);