- fix trimwhitespace outputfilter parameter

This commit is contained in:
Uwe.Tews
2009-10-22 13:08:43 +00:00
parent 60d1a30791
commit ecb5c84d5d
2 changed files with 4 additions and 1 deletions

View File

@@ -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

View File

@@ -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("!<script[^>]*?>.*?</script>!is", $source, $match);