Skip to content

Commit

Permalink
Merge pull request #18886 from mlutfy/moneyTypo
Browse files Browse the repository at this point in the history
(NFC) Fix typo in Money valueFormat depretation warning
  • Loading branch information
seamuslee001 authored Oct 30, 2020
2 parents b6e1f6b + 4ca645c commit 75f113a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Utils/Money.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public static function format($amount, $currency = NULL, $format = NULL, $onlyNu
}

if (!empty($valueFormat) && $valueFormat !== '%!i') {
CRM_Core_Error::deprecatedFunctionWarning('Having a Money Value format other than !%i is deprecated, please report this on the GitLab Issue https://lab.civicrm.org/dev/core/-/issues/1494 with the relevant moneyValueFormat you use.');
CRM_Core_Error::deprecatedFunctionWarning('Having a Money Value format other than %!i is deprecated, please report this on the GitLab Issue https://lab.civicrm.org/dev/core/-/issues/1494 with the relevant moneyValueFormat you use.');
}

if ($onlyNumber) {
Expand Down

0 comments on commit 75f113a

Please sign in to comment.