Code

Updated smarty to 1.0.9
[gosa.git] / gosa-core / include / smarty / plugins / modifiercompiler.strip.php
index ab5b76884f22e0f9e363f017df15a3262f962e7a..55b98e0ef92c2bcf30e9e7cb872d7c76f10c0166 100644 (file)
@@ -26,8 +26,8 @@ function smarty_modifiercompiler_strip($params, $compiler)
 {\r
     if (!isset($params[1])) {\r
         $params[1] = "' '";\r
-    } \r
-    return "preg_replace('!\s+!', {$params[1]},{$params[0]})";\r
+    }\r
+    return "preg_replace('!\s+!u', {$params[1]},{$params[0]})";\r
 } \r
 \r
 ?>
\ No newline at end of file