|
Lines 453-458
foreach my $branchcode (@branches) {
Link Here
|
| 453 |
} |
453 |
} |
| 454 |
|
454 |
|
| 455 |
my $library = Koha::Libraries->find($branchcode); |
455 |
my $library = Koha::Libraries->find($branchcode); |
|
|
456 |
if (!$library) { |
| 457 |
warn "Unable to locate library for $branchcode skipping"; |
| 458 |
next; |
| 459 |
} |
| 456 |
my $admin_email_address = $library->branchemail |
460 |
my $admin_email_address = $library->branchemail |
| 457 |
|| C4::Context->preference('KohaAdminEmailAddress'); |
461 |
|| C4::Context->preference('KohaAdminEmailAddress'); |
| 458 |
my @output_chunks; # may be sent to mail or stdout or csv file. |
462 |
my @output_chunks; # may be sent to mail or stdout or csv file. |
| 459 |
- |
|
|