From 25111a3182504b712d60f9b39097bdda00c78632 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=utf8 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 Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens (cherry picked from commit 0844f2c174c83ce3da11be07511730b0c220e5ad) Signed-off-by: Martin Renvoize (cherry picked from commit 981670c68cb3d12b30c410c12ed6488f5a555117) Signed-off-by: Lucas Gass --- 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 b4bdf7874d..68e45e85fe 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.39.5