CRM-12773 handle null custom fields without fatal
Merge pull request #973 from eileenmcnaughton/master

 CRM-12773  api - handle null value for a custom field gracefully