[Koha-bugs] [Bug 35918] Incorrect library used when AutoLocation configured using the same IP

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 26 08:37:17 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35918

--- Comment #1 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
No idea what this code is supposed to do...

1215                     foreach my $br ( keys %$branches ) {
1216 
1217                         #     now we work with the treatment of ip
1218                         my $domain = $branches->{$br}->{'branchip'};
1219                         if ( $domain && $ip =~ /^$domain/ ) {
1220                             $branchcode =
$branches->{$br}->{'branchcode'};
1221 
1222                             # new op dev : add the branchname to the
cookie
1223                             $branchname    =
$branches->{$br}->{'branchname'};
1224                         }
1225                     }

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list