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

(-)a/opac/opac-page.pl (-2 / +1 lines)
Lines 38-44 my $code = $query->param('code'); Link Here
38
my $page;
38
my $page;
39
39
40
my $homebranch = $ENV{OPAC_BRANCH_DEFAULT};
40
my $homebranch = $ENV{OPAC_BRANCH_DEFAULT};
41
if (C4::Context->userenv) {
41
if (C4::Context->userenv && defined C4::Context->userenv->{'branch'}) {
42
    $homebranch = C4::Context->userenv->{'branch'};
42
    $homebranch = C4::Context->userenv->{'branch'};
43
}
43
}
44
44
45
- 

Return to bug 34062