From 54ff89f0912edeae2dd632a168dd010207ca6519 Mon Sep 17 00:00:00 2001 From: arensb Date: Wed, 16 Oct 2002 12:41:10 +0000 Subject: [PATCH] C4::Acquisitions doesn't exist anymore. Replaced with C4::Catalogue (presumably this is correct, because &C4::Catalogue::getorder is exported, but &C4::Biblio::getorder isn't). Replaced an obviously-bogus assignment with a much more likely string comparison. --- moredetail.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/moredetail.pl b/moredetail.pl index 003cde437a..357169873b 100755 --- a/moredetail.pl +++ b/moredetail.pl @@ -25,7 +25,7 @@ require Exporter; use C4::Koha; use CGI; use C4::Search; -use C4::Acquisitions; +use C4::Catalogue; use C4::Output; # contains gettemplate my $query=new CGI; @@ -82,8 +82,7 @@ foreach my $item (@items){ $item->{'ordernumber'} = $ordernum; $item->{'booksellerinvoicenumber'} = $order->{'booksellerinvoicenumber'}; - # FIXME - This should be "==", not "=", right? - if ($item->{'date_due'} = 'Available'){ + if ($item->{'date_due'} eq 'Available'){ $item->{'issue'}="Available
"; } else { $item->{'issue'}="Currently on issue to: {'borrower0'}>$item->{'card'}
"; -- 2.39.5