Fix #820: Blank Joomla Search page on PHP 5.3.x