Fix PHP warning in data generation script.