mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-03 18:04:26 +02:00
plugins: shared.mb_str_replace add a space line
This commit is contained in:
@@ -63,6 +63,7 @@ if (!function_exists('smarty_mb_str_replace')) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$parts = mb_split(preg_quote($search), $subject) ?: array();
|
$parts = mb_split(preg_quote($search), $subject) ?: array();
|
||||||
|
|
||||||
// If original regex encoding was not unicode...
|
// If original regex encoding was not unicode...
|
||||||
if(!$reg_is_unicode) {
|
if(!$reg_is_unicode) {
|
||||||
// ...restore original regex encoding to avoid breaking the system.
|
// ...restore original regex encoding to avoid breaking the system.
|
||||||
|
Reference in New Issue
Block a user