fixing minor MR mapping bug
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 17 Aug 2006 20:53:30 +0000 (20:53 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 17 Aug 2006 20:53:30 +0000 (20:53 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5576 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Ingest.pm

index b263320..52171f1 100644 (file)
@@ -241,7 +241,7 @@ sub rw_biblio_ingest_single_record {
 
        return undef unless ($r and @$r);
 
-       return $self->method_lookup("open-ils.ingest.full.biblio.object")->run($r);
+       return ($self->method_lookup("open-ils.ingest.full.biblio.object")->run($r))[0];
 }
 __PACKAGE__->register_method(  
        api_name        => "open-ils.ingest.full.biblio.record",