diff options
author | Andreas Gohr <andi@splitbrain.org> | 2007-01-06 12:12:09 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2007-01-06 12:12:09 +0100 |
commit | 5b7d45a57dcad3a95cf71832234cb7e23891c5b2 (patch) | |
tree | c839c351f483ff526b785a1cb565758e995ed090 /inc/common.php | |
parent | b2829dc4c1fa742dbcf6a7f6a2cab84db88730fb (diff) | |
download | rpg-5b7d45a57dcad3a95cf71832234cb7e23891c5b2.tar.gz rpg-5b7d45a57dcad3a95cf71832234cb7e23891c5b2.tar.bz2 |
readded two changes from recent rollback
darcs-hash:20070106111209-7ad00-2f632e44c6062d0c428269feb4276e83124eedad.gz
Diffstat (limited to 'inc/common.php')
-rw-r--r-- | inc/common.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/common.php b/inc/common.php index b98447cb4..2c200cf5a 100644 --- a/inc/common.php +++ b/inc/common.php @@ -613,7 +613,7 @@ function cleanText($text){ * @author Andreas Gohr <andi@splitbrain.org> */ function formText($text){ - $text = preg_replace("/\012/","\015\012",$text); + $text = str_replace("\012","\015\012",$text); return htmlspecialchars($text); } |