diff --git a/catalogue/detail.pl b/catalogue/detail.pl index 5a1d1a35fd..00b7711d83 100755 --- a/catalogue/detail.pl +++ b/catalogue/detail.pl @@ -7,7 +7,7 @@ use C4::Serials; #uses getsubscriptionfrom biblionumber use C4::Interface::CGI::Output; use HTML::Template; use C4::Biblio; -use C4::SearchMarc; +use C4::Search; my $query=new CGI; my ($template, $borrowernumber, $cookie) @@ -28,7 +28,7 @@ $template->param(biblionumber => $biblionumber); # change back when ive fixed request.pl my @items = &ItemInfo(undef, $biblionumber, 'intra'); my $dat = &bibdata($biblionumber); -my ($authorcount, $addauthor) = &getaddauthor($biblionumber); +my ($authorcount, $addauthor) = &addauthor($biblionumber); my ($webbiblioitemcount, @webbiblioitems) = &getwebbiblioitems($biblionumber); my ($websitecount, @websites) = &getwebsites($biblionumber); my $subscriptionsnumber = CountSubscriptionFromBiblionumber($biblionumber);