Bugzilla – Attachment 171549 Details for
Bug 37892
Patron category 'can be a guarantee' means that same category cannot be a guarantor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37892: Fix memberentry.pl
Bug-37892-Fix-memberentrypl.patch (text/plain), 1012 bytes, created by
Baptiste Wojtkowski (bwoj)
on 2024-09-16 13:49:28 UTC
(
hide
)
Description:
Bug 37892: Fix memberentry.pl
Filename:
MIME Type:
Creator:
Baptiste Wojtkowski (bwoj)
Created:
2024-09-16 13:49:28 UTC
Size:
1012 bytes
patch
obsolete
>From 699097cdfe88151147793a6fc7d16588f85d1087 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 11 Sep 2024 14:36:05 +0000 >Subject: [PATCH] Bug 37892: Fix memberentry.pl > >Signed-off-by: Olivier V <olivier.vezina@inLibro.com> >Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org> >Signed-off-by: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com> >--- > members/memberentry.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/members/memberentry.pl b/members/memberentry.pl >index 2227df4..23aef6a 100755 >--- a/members/memberentry.pl >+++ b/members/memberentry.pl >@@ -285,7 +285,7 @@ if ( ( $op eq 'cud-save' || $op eq 'cud-insert' ) > } > > foreach my $guarantor (@guarantors) { >- if ( ( $op eq 'cud-save' || $op eq 'cud-insert' ) && $guarantor->is_child || $guarantor->category->can_be_guarantee ) { >+ if ( ( $op eq 'cud-save' || $op eq 'cud-insert' ) && $guarantor->is_child ) { > push @errors, 'ERROR_guarantor_is_guarantee'; > } > } >-- >2.43.0
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 37892
:
171334
|
171335
|
171336
|
171337
|
171451
|
171463
|
171464
|
171465
|
171466
|
171467
|
171472
|
171475
|
171476
|
171477
|
171478
|
171479
|
171480
|
171546
|
171547
|
171548
|
171549
|
171550
|
171663
|
171664
|
171665
|
171824
|
171825
|
171826
|
172896
|
172897
|
172898