The double_encode parameter for htmlspecialchars() was only added in PHP 5.2.3, and since we are only requiring PHP 5.2 (see install.php) I removed it. It defaults to TRUE anyway.

This commit is contained in:
Geert De Deckere 2009-06-18 11:05:15 +02:00 committed by Woody Gilk
parent f932c92453
commit c870515dfb

View file

@ -799,7 +799,7 @@ final class Kohana {
$var = $var ? 'TRUE' : 'FALSE';
break;
default:
$var = htmlspecialchars(print_r($var, TRUE), NULL, self::$charset, TRUE);
$var = htmlspecialchars(print_r($var, TRUE), NULL, self::$charset);
break;
}