fix warning in com_content/controller.php