Alexander Nicolaysen =?UTF-8?Q?S=C3=B8rnes=20?=: html: Replace ereg_replace with str_replace
Alexander Nicolaysen Sørnes
asornes at winehq.org
Sun Jan 12 11:07:19 CST 2014
Module: appdb
Branch: master
Commit: decbd736c4ada6172bcef8955e333a7d68b6d533
URL: http://source.winehq.org/git/appdb.git/?a=commit;h=decbd736c4ada6172bcef8955e333a7d68b6d533
Author: Alexander Nicolaysen Sørnes <alexsornes at 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;
}
More information about the wine-cvs
mailing list