From 02632b6bc313e61f9bc79bf0369633bbefe670ad Mon Sep 17 00:00:00 2001 From: alaurin Date: Fri, 9 Jun 2006 12:06:15 +0000 Subject: [PATCH] bug fixing : - for the userenv cookie, the branch, is now correctly implemented with the ip check ..... --- C4/Auth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index c1427fbbb4..9da0032874 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -490,7 +490,7 @@ sub checkauth { # new op dev : # launch a sequence to check if we have a ip for the branch, if we have one we replace the branchcode of the userenv by the branch bound in the ip. my $ip = $ENV{'REMOTE_ADDR'}; - my $branches = getbranches(); + my $branches = getbranches('IS'); my @branchesloop; my $branchprinter; foreach my $br ( keys %$branches ) { -- 2.39.2