Fixed potential vulnerability in PHP