Bugzilla – Attachment 152531 Details for
Bug 34033
DB update problems from bug 30649
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34033: (bug 30649 follow-up) Fix update typos
Bug-34033-bug-30649-follow-up-Fix-update-typos.patch (text/plain), 1.39 KB, created by
Tomás Cohen Arazi (tcohen)
on 2023-06-21 16:07:05 UTC
(
hide
)
Description:
Bug 34033: (bug 30649 follow-up) Fix update typos
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2023-06-21 16:07:05 UTC
Size:
1.39 KB
patch
obsolete
>From fcf80b4f10ba897cc4051c4ca4ad5084b31bdcc5 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 16 Jun 2023 12:15:25 +0000 >Subject: [PATCH] Bug 34033: (bug 30649 follow-up) Fix update typos > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > installer/data/mysql/db_revs/221200041.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/installer/data/mysql/db_revs/221200041.pl b/installer/data/mysql/db_revs/221200041.pl >index 44777c040f9..1c71449d3ce 100755 >--- a/installer/data/mysql/db_revs/221200041.pl >+++ b/installer/data/mysql/db_revs/221200041.pl >@@ -11,7 +11,7 @@ return { > }); > > my $edi_vendors = >- $dbh->selectall_arrayref( "SELECT * FROM vendor_edit_accounts", { Slice => {} } ); >+ $dbh->selectall_arrayref( "SELECT * FROM vendor_edi_accounts", { Slice => {} } ); > if (@$edi_vendors) { > require Koha::Encryption; > my $e = Koha::Encryption->new; >@@ -19,7 +19,7 @@ return { > my $id = $edi_vendor->{id}; > my $password = $edi_vendor->{password}; > $password = $e->encrypt_hex($password); >- $dbh->do("UPDATE edi_vendor_accounts SET password = $password WHERE id = $id"); >+ $dbh->do("UPDATE vendor_edi_accounts SET password = '$password' WHERE id = $id"); > } > } > }, >-- >2.34.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 34033
:
152405
| 152531