projects
/
koha-equinox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Bug 15258: Fix Perl scripts declaring unused variables
[koha-equinox.git]
/
Koha
/
Template
/
Plugin
/
Price.pm
diff --git
a/Koha/Template/Plugin/Price.pm
b/Koha/Template/Plugin/Price.pm
index
807f301
..
44f7cd8
100644
(file)
--- a/
Koha/Template/Plugin/Price.pm
+++ b/
Koha/Template/Plugin/Price.pm
@@
-29,7
+29,6
@@
sub filter {
my ( $self, $value, $args, $config ) = @_;
$value ||= 0;
$config->{on_editing} //= 0;
- my $formatted_price;
return $config->{on_editing}
? Koha::Number::Price->new( $value )->format_for_editing
: Koha::Number::Price->new( $value )->format;