Fixed PHP error with a GET request