- fixed variables in 'file' attribute of {extend} tag

- fixed problems in modifiers (if mb string functions not present)
This commit is contained in:
Uwe.Tews
2009-04-11 08:47:28 +00:00
parent ba61f12384
commit c9b789ca32
7 changed files with 13 additions and 9 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ function smarty_modifier_strip($text, $replace = ' ')
if ($smarty->has_mb) {
return mb_ereg_replace('!\s+!', $replace, $text, 'p');
} else {
return ereg_replace('!\s+!', $replace, $text, 'p');
return preg_replace('!\s+!', $replace, $text);
}
}