summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2013-01-21 14:24:09 +0100
committerAndrey Andreev <narf@bofh.bg>2013-01-21 14:24:09 +0100
commit3ffce987e0d7efa68bbce2d83915b06e97bd3475 (patch)
tree926cc6c13def119792b0c37afcdea5cd3823d58d /system/core
parent1106c528b213f9f58f4b2d9be60f78ca8067236e (diff)
[ci skip] Manually apply #2162, #2163
Diffstat (limited to 'system/core')
-rw-r--r--system/core/Output.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Output.php b/system/core/Output.php
index cf5178a0c..a20841463 100644
--- a/system/core/Output.php
+++ b/system/core/Output.php
@@ -772,7 +772,7 @@ class CI_Output {
$output = str_replace($codes_messed[0], $codes_clean[0], $output);
}
- if ( ! empty($codes_clean))
+ if ( ! empty($textareas_clean))
{
preg_match_all('{<textarea.+</textarea>}msU', $output, $textareas_messed);
$output = str_replace($textareas_messed[0], $textareas_clean[0], $output);