[Koha-cvs] koha/C4 Auth.pm

LAURIN arnaud alaurin at ouestprovence.fr
Fri Jun 9 14:06:15 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Changes by:	LAURIN arnaud <alaurin>	06/06/09 12:06:15

Modified files:
	C4             : Auth.pm 

Log message:
	bug fixing :
		- for the userenv cookie, the branch, is now correctly implemented with the ip check .....

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Auth.pm?cvsroot=koha&r1=1.51&r2=1.52

Patches:
Index: Auth.pm
===================================================================
RCS file: /sources/koha/koha/C4/Auth.pm,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -b -r1.51 -r1.52
--- Auth.pm	21 May 2006 05:59:47 -0000	1.51
+++ Auth.pm	9 Jun 2006 12:06:15 -0000	1.52
@@ -490,7 +490,7 @@
 #  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 ) {





More information about the Koha-cvs mailing list