From 99aa441fb6fde10f100c42783ef05eb93ecac6f4 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Sat, 19 Sep 2009 21:46:07 +0200 Subject: [PATCH] additem : change GetBranches to GetBranchesLoop --- cataloguing/additem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl index 93f4b9ba3f..d2d1cbe097 100755 --- a/cataloguing/additem.pl +++ b/cataloguing/additem.pl @@ -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 -- 2.39.5