Welcome Guest, Not a member yet? Register   Sign In
CI 2.1.3 minify_output bug?
#1

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

Ln. 691: Should this read:
Code:
if ( ! empty($textareas_clean) && ! empty($textareas_clean[0]))
or even just
Code:
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.




Theme © iAndrew 2016 - Forum software by © MyBB