Commit bc51fba4 authored by Pradeep Nayak's avatar Pradeep Nayak
Browse files

Can't submit contribution online form for 0 amount

parent 6a4c6ffb
......@@ -386,7 +386,7 @@ class CRM_Core_Payment_Stripe extends CRM_Core_Payment {
* @return array
*/
public function getPreApprovalDetails($storedDetails) {
return $storedDetails;
return $storedDetails ?? [];
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment