Bug 22282: Fix PDF issue when exporting PDF in French format.
authorLiz Rea <liz@catalyst.net.nz>
Thu, 31 Jan 2019 22:41:29 +0000 (22:41 +0000)
committerroot <root@f1ebe1bec408>
Mon, 11 Feb 2019 18:30:01 +0000 (18:30 +0000)
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 <maryse.simard@inlibro.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Koha/pdfformat/layout3pagesfr.pm

index b4bdf78..68e45e8 100644 (file)
@@ -20,7 +20,7 @@ package Koha::pdfformat::layout3pagesfr;
 # with Koha; if not, see <http://www.gnu.org/licenses>.
 
 #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/;