diff --git a/CRM/Utils/Number.php b/CRM/Utils/Number.php index 5262c3510600..da5db035c5aa 100644 --- a/CRM/Utils/Number.php +++ b/CRM/Utils/Number.php @@ -118,6 +118,7 @@ public static function formatUnitSize($size, $checkForPostMax = FALSE) { */ public static function formatLocaleNumeric(string $amount, $locale = NULL): string { if ($amount === "") { + CRM_Core_Error::deprecatedWarning('Passing an empty string for amount is deprecated.'); return $amount; }