Commit cf6170ab by Harsh Shah

NPE fix (TBC - I think this will always be accessed by candidate)

parent 23aec6ce
......@@ -45,7 +45,7 @@ public class CompleteApplicationFP extends SaveFP
CompanyUser companyUser = secUser.getExtension(CompanyUser.REFERENCE_CompanyUser);
// Update company in intercom
if(companyUser.getCompany() != null)
if(companyUser != null && companyUser.getCompany() != null)
{
IntercomUtils.updateCompany(companyUser.getCompany());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment