Bugzilla – Attachment 153770 Details for
Bug 33940
Move get_cardnumber_length and checkcardnumber to Koha
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33940: Fix what we send to memberentry
Bug-33940-Fix-what-we-send-to-memberentry.patch (text/plain), 1.05 KB, created by
Jonathan Druart
on 2023-07-21 10:08:56 UTC
(
hide
)
Description:
Bug 33940: Fix what we send to memberentry
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-07-21 10:08:56 UTC
Size:
1.05 KB
patch
obsolete
>From 248106020436e7b60b767c54ee034194c29f8969 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 21 Jul 2023 12:08:14 +0200 >Subject: [PATCH] Bug 33940: Fix what we send to memberentry > >--- > members/memberentry.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/members/memberentry.pl b/members/memberentry.pl >index 35d9b0bd87b..fad9b713d6b 100755 >--- a/members/memberentry.pl >+++ b/members/memberentry.pl >@@ -298,9 +298,9 @@ if ($op eq 'save' || $op eq 'insert'){ > for my $m ( @{ $is_valid->messages } ) { > my $message = $m->message; > if ( $message eq 'already_exists' ) { >- push @messages, { code => 'ERROR_cardnumber_already_exists' }; >+ $template->param( ERROR_cardnumber_already_exists => 1 ); > } elsif ( $message eq 'invalid_length' ) { >- push @messages, { code => 'ERROR_cardnumber_length' }; >+ $template->param( ERROR_cardnumber_length => 1 ); > } > } > } >-- >2.25.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 33940
:
152109
|
153758
|
153759
|
153763
|
153764
|
153766
|
153768
|
153769
|
153770
|
153771
|
153772
|
153773
|
155687
|
155688
|
155689