mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 17:39:46 +01:00
Bugtracker #4048 - str_replace fix to remove rogue ;
This commit is contained in:
parent
3dc88047f9
commit
f114992c57
@ -10,7 +10,7 @@ if($pref['smiley_activate'])
|
|||||||
$code_text = $tp->e_emote->filterEmotesRev($code_text);
|
$code_text = $tp->e_emote->filterEmotesRev($code_text);
|
||||||
}
|
}
|
||||||
|
|
||||||
$search = array(E_NL,'\','$', '<');
|
$search = array(E_NL,'\','$', '<');
|
||||||
$replace = array("\r\n","\\",'$', '<');
|
$replace = array("\r\n","\\",'$', '<');
|
||||||
$code_text = str_replace($search, $replace, $code_text);
|
$code_text = str_replace($search, $replace, $code_text);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user