Bugzilla – Attachment 54461 Details for
Bug 16960
Patron::Modifications should be fixed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16960: Fix error on validating the registration
Bug-16960-Fix-error-on-validating-the-registration.patch (text/plain), 1.14 KB, created by
Marc Véron
on 2016-08-15 12:04:33 UTC
(
hide
)
Description:
Bug 16960: Fix error on validating the registration
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2016-08-15 12:04:33 UTC
Size:
1.14 KB
patch
obsolete
>From 4abc1a94e383d9f3a05e9128eab44a1c6629926d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 8 Aug 2016 13:46:43 +0100 >Subject: [PATCH] Bug 16960: Fix error on validating the registration >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Followed steps in comment #14, works as expected. >Signed-off-by: Marc Véron <veron@veron.ch> >--- > opac/opac-registration-verify.pl | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/opac/opac-registration-verify.pl b/opac/opac-registration-verify.pl >index 1098af0..20057b0 100755 >--- a/opac/opac-registration-verify.pl >+++ b/opac/opac-registration-verify.pl >@@ -51,6 +51,11 @@ if ( $m ) { > OpacPasswordChange => C4::Context->preference('OpacPasswordChange') ); > > my $borrower = $m->unblessed(); >+ # Avoid "Column 'column' cannot be null" errors >+ # FIXME should be done at the Koha::Object level >+ for my $key ( keys %$borrower ) { >+ delete $borrower->{$key} if not defined $borrower->{$key} >+ } > > my $password; > ( $borrowernumber, $password ) = AddMember_Opac(%$borrower); >-- >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 16960
:
53657
|
53920
|
54027
|
54079
|
54080
|
54157
|
54461
|
54628
|
54665
|
54666
|
54667
|
54668