[Koha-cvs] CVS: koha/C4 Auth.pm,1.36.2.5,1.36.2.6

Henri-Damien LAURENT hdl at users.sourceforge.net
Sat Oct 1 00:12:07 CEST 2005


Update of /cvsroot/koha/koha/C4
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29198/C4

Modified Files:
      Tag: rel_2_2
	Auth.pm 
Log Message:
Bug Fixing 
userenv was always empty.
$userid and $cardnumber are now taken as global variables.

Index: Auth.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Auth.pm,v
retrieving revision 1.36.2.5
retrieving revision 1.36.2.6
diff -C2 -r1.36.2.5 -r1.36.2.6
*** Auth.pm	30 Sep 2005 21:54:29 -0000	1.36.2.5
--- Auth.pm	30 Sep 2005 22:12:05 -0000	1.36.2.6
***************
*** 389,393 ****
  			}
  			if ($return == 1){
! 				my ($cardnumber,$bornum,$userid,$firstname,$surname,$userflags,$branchcode,$emailaddress);
  				my $sth=$dbh->prepare("select cardnumber,borrowernumber,userid,firstname,surname,flags,branchcode,emailaddress from borrowers where userid=?");
  				$sth->execute($userid);
--- 389,393 ----
  			}
  			if ($return == 1){
! 				my ($bornum,$firstname,$surname,$userflags,$branchcode,$emailaddress);
  				my $sth=$dbh->prepare("select cardnumber,borrowernumber,userid,firstname,surname,flags,branchcode,emailaddress from borrowers where userid=?");
  				$sth->execute($userid);





More information about the Koha-cvs mailing list