CRM-14085 - wrong syntax on inner join for contribution report

http://issues.civicrm.org/jira/browse/CRM-14085