diff --git a/Civi/Payment/PropertyBag.php b/Civi/Payment/PropertyBag.php index 3fc564183fdd2aa6b83dd3f1cede4d634a44e9a4..e2e2cdd4abb2101d413ef8702d444fb8f69c13b5 100644 --- a/Civi/Payment/PropertyBag.php +++ b/Civi/Payment/PropertyBag.php @@ -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)); } /**