Bugzilla – Attachment 54157 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), 979 bytes, created by
Jonathan Druart
on 2016-08-08 12:47:20 UTC
(
hide
)
Description:
Bug 16960: Fix error on validating the registration
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-08-08 12:47:20 UTC
Size:
979 bytes
patch
obsolete
>From 4ca733e50b4038c618ddb320e75b5ff23399bd66 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 > >--- > 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.8.1
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