EllisLab text mark
Advanced Search
     
CI 2.1.3 minify_output bug?
Posted: 10 November 2012 06:07 AM   [ Ignore ]
Joined: 2012-10-25
14 posts

All lines are in an unmodified ./system/core/Output.php
PHP Version 5.3.10-1ubuntu3.4

Ln. 691: Should this read:

if ( ! empty($textareas_clean) && ! empty($textareas_clean[0])) 

or even just

if ( ! empty($textareas_clean[0])) 

My reasoning for the second !empty check is that the first is firing as true all the time (due to the array having a nested array), whether I have textareas in my output or not. The same second check should probably apply to lines 679 and 685 if true.