From fd1f06c2cb0e42b213ce2672e2ec7c4b4e1bbc32 Mon Sep 17 00:00:00 2001 From: James Cole Date: Thu, 16 Mar 2017 21:00:34 +0100 Subject: [PATCH] Small fix. --- app/Support/Amount.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Support/Amount.php b/app/Support/Amount.php index 4db387fc99..3e6f5694d3 100644 --- a/app/Support/Amount.php +++ b/app/Support/Amount.php @@ -138,7 +138,7 @@ class Amount $info = localeconv(); Log::debug('Localeconv is', $info); Log::debug(sprintf('Now calling number_format(%f, %d, "%s", "%s")', $float, $format->decimal_places, $info['mon_decimal_point'], $info['mon_thousands_sep'])); - Log::debug('Decimal places raw: %s', var_export($format->decimal_places, true)); + Log::debug(sprintf('Decimal places raw: %s', var_export($format->decimal_places, true))); $formatted = number_format($float, intval($format->decimal_places), $info['mon_decimal_point'], $info['mon_thousands_sep']);