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>
(cherry picked from commit
5b62714e47d5acd0a4c371024edacc02cfe6f5b5)
Signed-off-by: Jesse Maseto <jesse@bywatersolution.com>
$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;