Fixed a PHP error in hacks.php