Bugzilla – Attachment 153062 Details for
Bug 34174
Saving RIS results to Error 505
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34174: (bug 33341 follow-up) Fix Ris export
Bug-34174-bug-33341-follow-up-Fix-Ris-export.patch (text/plain), 1.35 KB, created by
Tomás Cohen Arazi
on 2023-07-05 14:58:58 UTC
(
hide
)
Description:
Bug 34174: (bug 33341 follow-up) Fix Ris export
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi
Created:
2023-07-05 14:58:58 UTC
Size:
1.35 KB
patch
obsolete
>From 6243820485c79d24a7db53f8ab39943001aa6fd3 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 5 Jul 2023 16:45:19 +0200 >Subject: [PATCH] Bug 34174: (bug 33341 follow-up) Fix Ris export > >Bug 33341 incorrectly fix the perlcritic warning. > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > C4/Installer.pm | 2 +- > C4/Ris.pm | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/C4/Installer.pm b/C4/Installer.pm >index 9a587cac0f4..7e248a17aa3 100644 >--- a/C4/Installer.pm >+++ b/C4/Installer.pm >@@ -849,7 +849,7 @@ sub run_atomic_updates { > my $code = read_file( $filepath ); > my ( $out, $err ) = ('', ''); > { >- open my $oldout, qw{>}, "&STDOUT"; >+ open my $oldout, qw{>&}, "STDOUT"; > close STDOUT; > open STDOUT,'>:encoding(utf8)', \$out; > my $DBversion = Koha::version; # We need $DBversion and $dbh for the eval >diff --git a/C4/Ris.pm b/C4/Ris.pm >index 0010f9a467e..cf30a40b62d 100644 >--- a/C4/Ris.pm >+++ b/C4/Ris.pm >@@ -97,7 +97,7 @@ sub marc2ris { > my $intype = lc($marcflavour); > > # Let's redirect stdout >- open my $oldout, qw{>}, "&STDOUT"; >+ open my $oldout, qw{>&}, "STDOUT"; > my $outvar; > close STDOUT; > open STDOUT,'>:encoding(utf8)', \$outvar; >-- >2.41.0
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 34174
:
153061
| 153062