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

This commit is contained in:
Chris Cormack 2011-08-01 11:32:43 +12:00
commit 8ae5719d16

View file

@ -909,7 +909,6 @@ sub fixup_cardnumber ($) {
# if ($cardnumber !~ /\S/ && $autonumber_members) {
($autonumber_members) or return $cardnumber;
defined($cardnumber) or return $cardnumber;
my $checkdigit = C4::Context->preference('checkdigit');
my $dbh = C4::Context->dbh;
if ( $checkdigit and $checkdigit eq 'katipo' ) {