From 21ee4493c05b9fee9eed1c945c269f87517127b4 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 1 Feb 2018 14:31:48 -0300 Subject: [PATCH] Bug 4078: Pass with_symbol to module The template plugin did not pass the with_symbol flag to the module and so was not taken into account Signed-off-by: Kyle M Hall --- Koha/Template/Plugin/Price.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Template/Plugin/Price.pm b/Koha/Template/Plugin/Price.pm index 44f7cd8..ec1fe71 100644 --- a/Koha/Template/Plugin/Price.pm +++ b/Koha/Template/Plugin/Price.pm @@ -31,7 +31,7 @@ sub filter { $config->{on_editing} //= 0; return $config->{on_editing} ? Koha::Number::Price->new( $value )->format_for_editing - : Koha::Number::Price->new( $value )->format; + : Koha::Number::Price->new( $value )->format( $config ); } 1; -- 2.10.2