Bug 23590: Remove unused variable
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 3 Feb 2020 10:19:46 +0000 (11:19 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 25 Mar 2020 09:35:28 +0000 (09:35 +0000)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
suggestion/suggestion.pl

index 9f2e93e..64d7610 100755 (executable)
@@ -174,7 +174,6 @@ if ( $op =~ /save/i ) {
                 my $patron = Koha::Patrons->find( $suggestion_only->{managedby} );
                 my $email_address = $patron->notice_email_address;
                 if ($patron->notice_email_address) {
-                    my $budget = C4::Budgets::GetBudget( $suggestion_only->{budgetid} );
                     my $library = $patron->library;
                     my $admin_email_address = $library->branchemail
                       || C4::Context->preference('KohaAdminEmailAddress');