civicrm/civicrm-core — pull request #804 by pradpnayak (2013-05-20 11:01:42+00:00)
Title: --fixed for CRM-12498, added condition to check valid contribution statu...

...s change and throw error if invalid

----------------------------------------
* CRM-12498: API contribution.create/update DB Error: constraint violation
http://issues.civicrm.org/jira/browse/CRM-12498