Bugzilla – Attachment 70396 Details for
Bug 19938
C4::Overdues::checkoverdues has inconsistent return type
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19938: Split C4/Members.pm to avoid conflict issues
Bug-19938-Split-C4Memberspm-to-avoid-conflict-issu.patch (text/plain), 992 bytes, created by
Lee Jamison
on 2018-01-09 20:58:45 UTC
(
hide
)
Description:
Bug 19938: Split C4/Members.pm to avoid conflict issues
Filename:
MIME Type:
Creator:
Lee Jamison
Created:
2018-01-09 20:58:45 UTC
Size:
992 bytes
patch
obsolete
>From ff50f74d642e526bbc6ac335bef96ca7435cb645 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Tue, 9 Jan 2018 18:15:30 +0000 >Subject: [PATCH] Bug 19938: Split C4/Members.pm to avoid conflict issues > >Signed-off-by: Lee Jamison <ldjamison@marywood.edu> >--- > C4/Members.pm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/C4/Members.pm b/C4/Members.pm >index faa497f..d4a82c0 100644 >--- a/C4/Members.pm >+++ b/C4/Members.pm >@@ -248,7 +248,8 @@ sub patronflags { > $flaginfo{'message'} = $patroninformation->{'borrowernotes'}; > $flags{'NOTES'} = \%flaginfo; > } >- my ( $odues, $itemsoverdue ) = C4::Overdues::checkoverdues($patroninformation->{'borrowernumber'}); >+ my $itemsoverdue = C4::Overdues::checkoverdues($patroninformation->{'borrowernumber'}); >+ my $odues = $itemsoverdue ? scalar(@$itemsoverdue) : 0; > if ( $odues && $odues > 0 ) { > my %flaginfo; > $flaginfo{'message'} = "Yes"; >-- >2.1.4
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 19938
:
70375
|
70382
|
70383
|
70396
|
70397
|
70472
|
70473
|
70485
|
70486
|
70489
|
70567