archivesspace/archivesspace — pull request #66 by marktriggs (2014-05-19 07:53:15+00:00)
Title: Modify the plugin_helper to handle zero_to_one record types.

Hi Chris,

Just another little fix I found we needed when developing plugins. This plugin helper code was assuming that all added subrecords would be one-to-many (and therefore an array), but we want to support zero_or_one records as well.

Thanks,
Mark