Browse Source

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 <kyle@bywatersolutions.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
tags/v18.05.00-rc1
Jonathan Druart 3 years ago
parent
commit
d03a400824
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Koha/Template/Plugin/Price.pm

+ 1
- 1
Koha/Template/Plugin/Price.pm View File

@@ -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;

Loading…
Cancel
Save