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

(-)a/tools/export.pl (-2 / +1 lines)
Lines 146-152 if ( C4::Context->preference("IndependentBranches") Link Here
146
    @branch = ( C4::Context->userenv->{'branch'} );
146
    @branch = ( C4::Context->userenv->{'branch'} );
147
}
147
}
148
# if stripping nonlocal items, use loggedinuser's branch
148
# if stripping nonlocal items, use loggedinuser's branch
149
my $localbranch = C4::Context->userenv->{'branch'};
149
my $localbranch = C4::Context->userenv ? C4::Context->userenv->{'branch'} : undef;
150
150
151
my %branchmap = map { $_ => 1 } @branch; # for quick lookups
151
my %branchmap = map { $_ => 1 } @branch; # for quick lookups
152
152
153
- 

Return to bug 14709