CRM-13715 - Add custom field column to Contribution Details report crashes

http://issues.civicrm.org/jira/browse/CRM-13715
Merge pull request #1922 from dlobo/CRM-13715

CRM-13715 - Add custom field column to Contribution Details report crashes