[Koha-cvs] CVS: koha/C4 Auth.pm,1.9.2.9,1.9.2.10

Steve Tonnesen tonnesen at users.sourceforge.net
Mon Sep 9 20:44:43 CEST 2002


Update of /cvsroot/koha/koha/C4
In directory usw-pr-cvs1:/tmp/cvs-serv27620

Modified Files:
      Tag: rel-1-2
	Auth.pm 
Log Message:
Bug that broke access flag checking when logging in using a borrower card
number instead of a userid.


Index: Auth.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Auth.pm,v
retrieving revision 1.9.2.9
retrieving revision 1.9.2.10
diff -C2 -r1.9.2.9 -r1.9.2.10
*** Auth.pm	8 Sep 2002 05:04:46 -0000	1.9.2.9
--- Auth.pm	9 Sep 2002 18:44:39 -0000	1.9.2.10
***************
*** 102,105 ****
--- 102,106 ----
  	    $sth->execute($userid);
  	    my ($cardnumber) = $sth->fetchrow;
+ 	    ($cardnumber) || ($cardnumber=$userid);
  	    my $flags=getuserflags($cardnumber,$dbh);
  	    my $configfile=configfile();





More information about the Koha-cvs mailing list