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

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

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