Fixed PHP error

See https://github.com/Jazzza001/Pro-Activity/issues/1