additem : change GetBranches to GetBranchesLoop

This commit is contained in:
Henri-Damien LAURENT 2009-09-19 21:46:07 +02:00
parent 32ecbaa18e
commit 99aa441fb6
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ my $onlymine = C4::Context->preference('IndependantBranches') &&
C4::Context->userenv &&
C4::Context->userenv->{flags}!=1 &&
C4::Context->userenv->{branch};
my $branches = GetBranches($onlymine); # build once ahead of time, instead of multiple times later.
my $branches = GetBranchesLoop(undef,$onlymine); # build once ahead of time, instead of multiple times later.
foreach my $tag (sort keys %{$tagslib}) {
# loop through each subfield