Fixed php error. (Unclosed if statement.)