Bug 24726: Replace one occurrence in print statement
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 18 Mar 2020 10:20:30 +0000 (11:20 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 19 Mar 2020 09:34:53 +0000 (09:34 +0000)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

misc/cronjobs/overdue_notices.pl

index 8b4fd7e..098f477 100755 (executable)
@@ -458,7 +458,7 @@ foreach my $branchcode (@branches) {
     my $branch_email_address = $library->inbound_email_address;
     my @output_chunks;    # may be sent to mail or stdout or csv file.
 
-    $verbose and warn sprintf "branchcode : '%s' using %s\n", $branchcode, $admin_email_address;
+    $verbose and warn sprintf "branchcode : '%s' using %s\n", $branchcode, $branch_email_address;
 
     my $sth2 = $dbh->prepare( <<"END_SQL" );
 SELECT biblio.*, items.*, issues.*, biblioitems.itemtype, branchname