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


I patched master by mistake a week ago, so backporting and patching 4.4

http://issues.civicrm.org/jira/browse/CRM-14085