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

(-)a/tools/letter.pl (-1 / +6 lines)
Lines 353-358 sub retrieve_letters { Link Here
353
sub default_display {
353
sub default_display {
354
    my ($branchcode, $searchfield) = @_;
354
    my ($branchcode, $searchfield) = @_;
355
355
356
    unless ( defined $branchcode ) {
357
        if ( C4::Context->preference('DefaultToLoggedInLibraryNoticesSlips') ) {
358
            $branchcode = C4::Branch::mybranch();
359
        }
360
    }
361
356
    if ( $searchfield  ) {
362
    if ( $searchfield  ) {
357
        $template->param( search      => 1 );
363
        $template->param( search      => 1 );
358
    }
364
    }
359
- 

Return to bug 11625