CRM-14277 Fix - Error when clicking Done on viewing a Contribution

https://issues.civicrm.org/jira/browse/CRM-14277