Skip to content
Snippets Groups Projects
Commit 0c34d9b8 authored by mattwire's avatar mattwire
Browse files

Fix setAmount to set the right amount on payment propertybag

parent ac221468
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