Skip to content

issue#53: Fatal error on editing contribution

Monish Deb requested to merge issue-53 into master

Created by: monishdeb

It seems like the error is originating from line-item editor as it is relying on CRM_Utils_Cache_SqlGroup->get(369711) to fetch the contribution detail but here we are passsing integer parameter - 369711 eventually trips at https://github.com/civicrm/civicrm-core/blob/master/CRM/Utils/Cache.php#L250. This patch cast the contribution ID to string before it is passed to cache get/set function which expects the parameter only to be string.

Merge request reports