see mail on koha-devel : code cleaning on Search.pm + normalizing API + use of biblio...
[koha_ffzg] / opac / opac-detailprint.pl
index d9934a8..60eb240 100755 (executable)
@@ -24,7 +24,7 @@ require Exporter;
 use C4::Context;
 use C4::Output;  # contains gettemplate
 use CGI;
-use C4::Search;
+use C4::Biblio;
 use C4::Auth;
 use C4::Interface::CGI::Output;
 use C4::Date;
@@ -45,7 +45,7 @@ foreach my $itm (@items) {
 
 
 my $dat=bibdata($biblionumber);
-my ($authorcount, $addauthor)= &addauthor($biblionumber);
+my ($authorcount, $addauthor)= &getaddauthor($biblionumber);
 my ($webbiblioitemcount, @webbiblioitems) = &getwebbiblioitems($biblionumber);
 my ($websitecount, @websites)             = &getwebsites($biblionumber);