View | Details | Raw Unified | Return to bug 36758
Collapse All | Expand All

(-)a/C4/Letters.pm (-1 / +3 lines)
Lines 618-623 sub GetPreparedLetter { Link Here
618
      or carp( "ERROR: nothing to substitute - all of 'objects', 'tables', 'loops' and 'substitute' are empty" ),
618
      or carp( "ERROR: nothing to substitute - all of 'objects', 'tables', 'loops' and 'substitute' are empty" ),
619
         return;
619
         return;
620
    my $want_librarian = $params{want_librarian};
620
    my $want_librarian = $params{want_librarian};
621
    if ($want_librarian) {
622
        $objects->{librarian} = Koha::Patrons->find( C4::Context->userenv->{number} );
623
    }
621
624
622
    # Best guess at language 'default' notice is written for include handling
625
    # Best guess at language 'default' notice is written for include handling
623
    if ( $lang eq 'default' ) {
626
    if ( $lang eq 'default' ) {
624
- 

Return to bug 36758