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
Merge pull request #1944 from dlobo/CRM-13715

CRM-13715 - fix bug when included in report columns