Browse files

Merge remote-tracking branch 'kc/new/bug_5995' into kcmaster

Conflicts:
	opac/sco/sco-main.pl
  • Loading branch information...
2 parents 69333c9 + 8d7608c commit c8df6bdcc9fe2523a77c839270b31304d8e13ee5 @ranginui committed Oct 22, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 opac/sco/sco-main.pl
View
4 opac/sco/sco-main.pl
@@ -2,6 +2,7 @@
#
# This code has been modified by Trendsetters (originally from opac-user.pl)
# This code has been modified by rch
+# Parts Copyright 2010-2011, ByWater Solutions (those related to username/password auth)
# We're going to authenticate a self-check user. we'll add a flag to borrowers 'selfcheck'
#
# We're in a controlled environment; we trust the user.
@@ -92,7 +93,8 @@
my $item = GetItem(undef,$barcode);
if (C4::Context->preference('SelfCheckoutByLogin') && !$patronid) {
my $dbh = C4::Context->dbh;
- my ($resval, $patronid) = checkpw($dbh, $patronlogin, $patronpw);
+ my $resval;
+ ($resval, $patronid) = checkpw($dbh, $patronlogin, $patronpw);
}
my $borrower = GetMemberDetails(undef,$patronid);

0 comments on commit c8df6bd

Please sign in to comment.