Bug 9044: (follow-up) fix merge conflict typo that broke this script
[koha.git] / C4 / XISBN.pm
index 1211f9f..cbb2484 100644 (file)
@@ -64,7 +64,7 @@ sub _get_biblio_from_xisbn {
     my $xisbn = shift;
     my $dbh = C4::Context->dbh;
 
-    my ( $errors, $results, $total_hits ) = SimpleSearch( "nb=$xisbn", 0, 1 );
+    my ( $errors, $results, $total_hits ) = C4::Search::SimpleSearch( "nb=$xisbn", 0, 1 );
     return unless ( !$errors && scalar @$results );
 
     my $record = MARC::Record::new_from_usmarc( $results->[0] );