Bugzilla – Attachment 152405 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.33 KB, created by
Nick Clemens (kidclamp)
on 2023-06-16 12:15:52 UTC
(
hide
)
Description:
Bug 34033: (bug 30649 follow-up) Fix update typos
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2023-06-16 12:15:52 UTC
Size:
1.33 KB
patch
obsolete
>From 8d419d9b3d6282c6307bbd3bf69ab18362ba4e32 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 > >--- > 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 44777c040f..1c71449d3c 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.30.2
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