Module: appdb Branch: master Commit: decbd736c4ada6172bcef8955e333a7d68b6d533 URL: http://source.winehq.org/git/appdb.git/?a=commit;h=decbd736c4ada6172bcef8955...
Author: Alexander Nicolaysen Sørnes alexsornes@gmail.com Date: Sun Jan 12 17:58:19 2014 +0100
html: Replace ereg_replace with str_replace
---
include/html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/html.php b/include/html.php index 21992ae..b015f9f 100644 --- a/include/html.php +++ b/include/html.php @@ -237,7 +237,7 @@ function p()
function add_br($text = "") { - $text = ereg_replace("\n","<br>\n",$text); + $text = str_replace("\n","<br>\n",$text); return $text; }