Fix a potential PHP Error.