Merge pull request #18886 from mlutfy/moneyTypo
authorSeamus Lee <seamuslee001@gmail.com>
Fri, 30 Oct 2020 19:53:13 +0000 (06:53 +1100)
committerGitHub <noreply@github.com>
Fri, 30 Oct 2020 19:53:13 +0000 (06:53 +1100)
(NFC) Fix typo in Money valueFormat depretation warning

CRM/Utils/Money.php

index c99a792167c766901f6d58c1cefdf53dfdf40f90..274b96626a034fdddbdafd43733ea8d84a71384f 100644 (file)
@@ -67,7 +67,7 @@ class CRM_Utils_Money {
     }
 
     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) {