Skip to content
Snippets Groups Projects
Unverified Commit 65748faf authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Merge pull request #17505 from mattwire/propertybagfixsetamount

Payment PropertyBag - Fix setAmount
parents ac221468 0c34d9b8
No related branches found
No related tags found
No related merge requests found
......@@ -388,7 +388,7 @@ class PropertyBag implements \ArrayAccess {
throw new \InvalidArgumentException("setAmount requires a numeric amount value");
}
return $this->set('amount', CRM_Utils_Money::format($value, NULL, NULL, TRUE), $label);
return $this->set('amount', $label, \CRM_Utils_Money::format($value, NULL, NULL, TRUE));
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment