X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=acqui%2Fneworderempty.pl;h=df23586cc9c5cbdc60d48b618b768dce5aa6d22e;hb=786a1aa36a5bdaaa0ae8bbe327e8f1ad7231947f;hp=1340543d3b4cec93cae5e940b850555055f28ba1;hpb=a6c829e2bf706379305d4aa961e3cc29653b8bd4;p=koha.git diff --git a/acqui/neworderempty.pl b/acqui/neworderempty.pl index 1340543d3b..df23586cc9 100755 --- a/acqui/neworderempty.pl +++ b/acqui/neworderempty.pl @@ -94,7 +94,6 @@ my $suggestionid = $input->param('suggestionid'); my $close = $input->param('close'); my $data; my $new; -my $dbh = C4::Context->dbh; if ( $ordnum eq '' ) { # create order $new = 'yes'; @@ -189,7 +188,6 @@ my $CGIbookfund = CGI::scrolling_list( -default => ($data->{'bookfundid'} ? $data->{'bookfundid'} : $select_bookfund[0]), -labels => \%select_bookfunds, #-size => 1, - -tabindex =>'', -multiple => 0 ); @@ -263,7 +261,7 @@ $template->param( nocalc => $bookseller->{'nocalc'}, name => $bookseller->{'name'}, currency => $bookseller->{'listprice'}, - gstrate => C4::Context->preference("gist"), + gstrate => C4::Context->preference("gist") || 0, loop_currencies => \@loop_currency, orderexists => ( $new eq 'yes' ) ? 0 : 1, title => $data->{'title'},