summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2011-03-16 23:18:08 +0100
committerPhil Sturgeon <email@philsturgeon.co.uk>2011-03-16 23:18:08 +0100
commit82f9b1571370e8d87a0cbd4ff16647a6eccf3c6e (patch)
treed1521ad2b2303ba959f161c31533136ed9828dfb
parent35f6491450d8564b26cbfab90aedcd0e592a81d4 (diff)
Standardized newlines even more extensively in Input class.
-rw-r--r--system/core/Input.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Input.php b/system/core/Input.php
index 626245390..18131350f 100644
--- a/system/core/Input.php
+++ b/system/core/Input.php
@@ -539,7 +539,7 @@ class CI_Input {
{
if (strpos($str, "\r") !== FALSE)
{
- $str = str_replace(array("\r\n", "\r"), PHP_EOL, $str);
+ $str = str_replace(array("\r\n", "\r", "\r\n\n"), PHP_EOL, $str);
}
}