View | Details | Raw Unified | Return to bug 7138
Collapse All | Expand All

(-)a/acqui/basketgroup.pl (-7 / +2 lines)
Lines 186-197 sub printbasketgrouppdf{ Link Here
186
    
186
    
187
    my $pdfformat = C4::Context->preference("OrderPdfFormat");
187
    my $pdfformat = C4::Context->preference("OrderPdfFormat");
188
    if ($pdfformat eq 'pdfformat::layout3pages' || $pdfformat eq 'pdfformat::layout2pages'){
188
    if ($pdfformat eq 'pdfformat::layout3pages' || $pdfformat eq 'pdfformat::layout2pages'){
189
	eval {
189
        eval "use $pdfformat";
190
	    require $pdfformat;
190
        warn "Error while loading pdfformat module: $@" if $@;
191
	    import $pdfformat;
192
	};
193
	if ($@){
194
	}
195
    }
191
    }
196
    else {
192
    else {
197
	print $input->header;  
193
	print $input->header;  
198
- 

Return to bug 7138