Bugzilla – Attachment 4681 Details for
Bug 6521
Editing a patron fails with blank cardnumber
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
follow up
bug6521.patch (text/plain), 1.17 KB, created by
Nicole C. Engard
on 2011-07-20 17:26:35 UTC
(
hide
)
Description:
follow up
Filename:
MIME Type:
Creator:
Nicole C. Engard
Created:
2011-07-20 17:26:35 UTC
Size:
1.17 KB
patch
obsolete
>From 76ff459db8fc2d9388b5eadeda7300a8d037afff Mon Sep 17 00:00:00 2001 >From: Ian Walls <ian.walls@bywatersolutions.com> >Date: Wed, 20 Jul 2011 13:11:12 -0400 >Subject: [PATCH] Bug 6521 Follow up: previous patch breaks autoMemberNum functionality > >The previous patch broke the autoMemberNum feature by adding a line to fixup_cardnumber >that returned 'undef' for cardnumber in all usages of the subroutine (limited to members/memberentry.pl >and tools/import_borrowers.pl. This prevented the automatic number from being calculated in all cases. > >This patch removes the offending line. > >Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com> >--- > C4/Members.pm | 1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > >diff --git a/C4/Members.pm b/C4/Members.pm >index 4eb9979..8e77da9 100644 >--- a/C4/Members.pm >+++ b/C4/Members.pm >@@ -907,7 +907,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' ) { >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6521
:
4511
| 4681