Fixed PHP error without POST