From b660022e8c487c219986f2fefcf8d0b9ade4e2ea Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Thu, 31 Jan 2019 22:41:29 +0000 Subject: [PATCH] Bug 22282 - Fix PDF issue when exporting PDF in French format. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixing up QA comments, keeping 1st instance and removing the 2nd. Original test plan by Christophe Croullebois. To test : Without the patch : 1° select in Acquisitions preferences/OrderPdfFormat French 3-page 2° restart plack if needed 3° In acqui/basketgroup.pl select closed tab 4° Click on "Export as PDF" button 5° You should see a blank page saying "Internal Server Error" With the patch : Do the same Signed-off-by: Maryse Simard --- Koha/pdfformat/layout3pagesfr.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/pdfformat/layout3pagesfr.pm b/Koha/pdfformat/layout3pagesfr.pm index b4bdf78..68e45e8 100644 --- a/Koha/pdfformat/layout3pagesfr.pm +++ b/Koha/pdfformat/layout3pagesfr.pm @@ -20,7 +20,7 @@ package Koha::pdfformat::layout3pagesfr; # with Koha; if not, see . #you can use any PDF::API2 module, all you need to do is return the stringifyed pdf object from the printpdf sub. -package pdfformat::layout3pagesfr; + use vars qw(@ISA @EXPORT); use MIME::Base64; use List::MoreUtils qw/uniq/; -- 2.7.4