summaryrefslogtreecommitdiffstats
path: root/system/core/Output.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/core/Output.php')
-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 7bfb8cebe..e323385ba 100644
--- a/system/core/Output.php
+++ b/system/core/Output.php
@@ -842,7 +842,7 @@ class CI_Output {
// Remove closing tag and save it for later
$pos = strrpos($output, '</');
- $closing_tag = substr($output, $pos, strlen($output));
+ $closing_tag = substr($output, $pos);
$output = substr_replace($output, '', $pos);
}