From 6c6a87bc91a52f442997577e872443956255fbef 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 --- 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.11.0