civicrm/civicrm-core — pull request #4587 by nganivet (2014-11-20 05:10:25+00:00)
Title: added contribution table in query from clause for contribution note

This fixes the issue:
- when you had a contribution note in a profile with no other contribution fields
- then there is a database error when the user is moved from confirm screen to thank you screen
- this is because there is a missing join table in the SELECT query