Bug 21853: (follow-up) to solve printpdf error
authorMark Tompsett <mtompset@hotmail.com>
Sun, 18 Nov 2018 05:36:44 +0000 (05:36 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 21 Nov 2018 11:08:23 +0000 (11:08 +0000)
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Theoretically this follow-up makes no difference. All modules only export
printpdf and now we are just asking explicitly for printpdf. But if it
resolves some exception on the rule..

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

acqui/basketgroup.pl

index e1cba84..4cb1be1 100755 (executable)
@@ -131,7 +131,7 @@ sub printbasketgrouppdf{
         $pdfformat = "Koha::$pdfformat";
         my $pdfformat_filepath = File::Spec->catfile(split /::/, $pdfformat) . '.pm';
         require $pdfformat_filepath;
-        import $pdfformat;
+        import $pdfformat qw(printpdf);
     }
     else {
         print $input->header;