Bugzilla – Attachment 76253 Details for
Bug 13655
Can't save organisation type patron without entering userid/password
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13655: Allow creation of organisations without entering userid
Bug-13655-Allow-creation-of-organisations-without-.patch (text/plain), 1.54 KB, created by
Josef Moravec
on 2018-06-22 07:05:25 UTC
(
hide
)
Description:
Bug 13655: Allow creation of organisations without entering userid
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2018-06-22 07:05:25 UTC
Size:
1.54 KB
patch
obsolete
>From 6bd06b8d616b1ffa284ad71832996d165257101c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 12 Apr 2018 13:40:59 -0300 >Subject: [PATCH] Bug 13655: Allow creation of organisations without entering > userid > >See comment 1 of the bug report for defails of the issue. > >Test plan: >Good luck (you will need to test all combinations (category type eq and >ne 'I'), then quick edition and partial edit) > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > members/memberentry.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/members/memberentry.pl b/members/memberentry.pl >index 0a5e81b..6ed356c 100755 >--- a/members/memberentry.pl >+++ b/members/memberentry.pl >@@ -277,7 +277,7 @@ $newdata{'lang'} = $input->param('lang') if defined($input->param('lang')) > # builds default userid > # userid input text may be empty or missing because of syspref BorrowerUnwantedField > if ( ( defined $newdata{'userid'} && $newdata{'userid'} eq '' ) || $check_BorrowerUnwantedField =~ /userid/ && !defined $data{'userid'} ) { >- if ( ( defined $newdata{'firstname'} ) && ( defined $newdata{'surname'} ) ) { >+ if ( ( defined $newdata{'firstname'} || $category_type eq 'I' ) && ( defined $newdata{'surname'} ) ) { > # Full page edit, firstname and surname input zones are present > $patron->firstname($newdata{firstname}); > $patron->surname($newdata{surname}); >-- >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 13655
:
74114
|
74192
|
76219
|
76239
|
76250
|
76251
| 76253 |
76254