Bugzilla – Attachment 14711 Details for
Bug 9343
SIP doesn't handle debarred date/status correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9343: handles the new format of Debarred
Bug-9343-handles-the-new-format-of-Debarred.patch (text/plain), 1.19 KB, created by
Kyle M Hall (khall)
on 2013-01-18 19:59:40 UTC
(
hide
)
Description:
Bug 9343: handles the new format of Debarred
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2013-01-18 19:59:40 UTC
Size:
1.19 KB
patch
obsolete
>From f3e606bdba2c58f12e7afc6dbf90603fad02bdb3 Mon Sep 17 00:00:00 2001 >From: Adrien Saurat <adrien.saurat@biblibre.com> >Date: Thu, 3 Jan 2013 17:08:02 +0100 >Subject: [PATCH] Bug 9343: handles the new format of Debarred > >The debarred status in DB switched from a boolean to a date. > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > C4/SIP/ILS/Patron.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/SIP/ILS/Patron.pm b/C4/SIP/ILS/Patron.pm >index 8c00a11..ac24d2f 100644 >--- a/C4/SIP/ILS/Patron.pm >+++ b/C4/SIP/ILS/Patron.pm >@@ -41,7 +41,7 @@ sub new { > $debug and warn "new Patron (GetMemberDetails): " . Dumper($kp); > my $pw = $kp->{password}; ### FIXME - md5hash -- deal with . > my $flags = $kp->{flags}; # or warn "Warning: No flags from patron object for '$patron_id'"; >- my $debarred = $kp->{debarred}; # 1 if ($kp->{flags}->{DBARRED}->{noissues}); >+ my $debarred = defined($kp->{flags}->{DBARRED}); > $debug and warn sprintf("Debarred = %s : ", ($debarred||'undef')) . Dumper(%{$kp->{flags}}); > my ($day, $month, $year) = (localtime)[3,4,5]; > my $today = sprintf '%04d-%02d-%02d', $year+1900, $month+1, $day; >-- >1.7.2.5
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 9343
:
14397
|
14711
|
14718
|
15000