https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35354 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |trivial Assignee|koha-bugs@lists.koha-commun |katrin.fischer@bsz-bw.de |ity.org | --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- # Send e-mail to librarian if syspref is active if(C4::Context->preference("emailLibrarianWhenHoldIsPlaced")){ my $patron = $hold->patron; my $library = $patron->library; if ( my $letter = C4::Letters::GetPreparedLetter ( module => 'reserves', letter_code => 'HOLDPLACED', branchcode => $branch, lang => $patron->lang, tables => { 'branches' => $library->unblessed, 'borrowers' => $patron->unblessed, 'biblio' => $biblionumber, 'biblioitems' => $biblionumber, 'items' => $checkitem, 'reserves' => $hold->unblessed, }, ) ) { my $branch_email_address = $library->inbound_email_address; C4::Letters::EnqueueLetter( { letter => $letter, borrowernumber => $borrowernumber, message_transport_type => 'email', to_address => $branch_email_address, } ); } } -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.