From d03a4008240380a342ba6d7734c00f699f57902c 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 Signed-off-by: Josef Moravec Signed-off-by: Jonathan Druart --- 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 44f7cd8170..ec1fe71d27 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.39.5