Changed inconsistent php ending