plugins: shared.mb_str_replace add a space line

This commit is contained in:
Ian
2022-08-08 17:28:57 +02:00
parent 159ed4ee02
commit 64e50e00c9

View File

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