1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-25 00:41:52 +02:00

Bugtracker #3659 - multiple newline code wrong

This commit is contained in:
e107steved
2007-01-05 21:59:50 +00:00
parent 201027f067
commit 1156f11bc1

View File

@@ -1,4 +1,4 @@
$search = array("&quot;", "&#039;", "&#036;", "<br />", "[E_NL]", "-&gt;");
$search = array("&quot;", "&#039;", "&#036;", '<br />', E_NL, "-&gt;");
$replace = array('"', "'", "$", "\n", "\n", "->");
$code_text = str_replace($search, $replace, $code_text);
return eval($code_text);