http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6369

--- Comment #7 from Paul Poulain <[email protected]> 2011-11-09 
14:54:22 UTC ---
The line 275 shows :
    my $pdf = printpdf($basketgroup, $bookseller, $baskets, \%orders,
$bookseller->{gstrate} // C4::Context->preference("gist")) || die "pdf
generation failed";


printpdf is supposed to be loaded at line 190 :
    my $pdfformat = C4::Context->preference("OrderPdfFormat");
    if ($pdfformat eq 'pdfformat::layout3pages' || $pdfformat eq
'pdfformat::layout2pages'){
    eval {
        require $pdfformat;
        import $pdfformat;
    };
So, what does OrderPdfFormat contains ? If it's not pdfformat::layout3pages or
pdfformat::layout2pages, nothing is "require-ed", and printpdf fails

-- 
Configure bugmail: 
http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to