Bugzilla – Attachment 55197 Details for
Bug 16911
Koha::Patrons - Move ExtendMemberSubscriptionTo to ->renew_account
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16911: (QA followup) CGI->param should not be called in list context
Bug-16911-QA-followup-CGI-param-should-not-be-call.patch (text/plain), 1.02 KB, created by
Tomás Cohen Arazi
on 2016-09-05 18:25:05 UTC
(
hide
)
Description:
Bug 16911: (QA followup) CGI->param should not be called in list context
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi
Created:
2016-09-05 18:25:05 UTC
Size:
1.02 KB
patch
obsolete
>From 4719fe7fada2c413f62c94edcfce18a389b747e1 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 5 Sep 2016 15:18:57 -0300 >Subject: [PATCH] Bug 16911: (QA followup) CGI->param should not be called in > list context > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > members/member-password.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/members/member-password.pl b/members/member-password.pl >index 43c4489..fd4dd2a 100755 >--- a/members/member-password.pl >+++ b/members/member-password.pl >@@ -72,7 +72,7 @@ if ( $newpassword && !scalar(@errors) ) { > token => scalar $input->param('csrf_token'), > }); > >- my $digest = Koha::AuthUtils::hash_password( $input->param('newpassword') ); >+ my $digest = Koha::AuthUtils::hash_password( scalar $input->param('newpassword') ); > my $uid = $input->param('newuserid') || $bor->{userid}; > my $dbh = C4::Context->dbh; > if ( Koha::Patrons->find( $member )->update_password($uid, $digest) ) { >-- >2.7.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 16911
:
53338
|
53339
|
53340
|
53341
|
53346
|
53514
|
53515
|
53516
|
53517
|
53518
|
53533
|
54752
|
54753
|
54754
|
54755
|
54756
|
54757
|
54789
|
54790
|
54791
|
54792
|
54793
|
54794
|
55191
|
55192
|
55193
|
55194
|
55195
|
55196
| 55197 |
55424
|
55447