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

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

Return to bug 36758