Yeah strange, probably related to the change of empty for PHP 5.4: http://fr2.php.net/manual/en/function.empty.php (changelog)