CRM-13715 - fix bug when included in report columns

----------------------------------------
* CRM-13715: Add custom field column to Contribution Details report crashes
  http://issues.civicrm.org/jira/browse/CRM-13715