bug fixing :

- for the userenv cookie, the branch, is now correctly implemented with the ip check .....
This commit is contained in:
alaurin 2006-06-09 12:06:15 +00:00
parent cabf593c41
commit 02632b6bc3

View file

@ -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 ) {