calling copy_details directly to prevent any issues with the $self variable
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 8 Feb 2008 20:46:18 +0000 (20:46 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 8 Feb 2008 20:46:18 +0000 (20:46 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@8702 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 915105e..aca42a0 100644 (file)
@@ -890,7 +890,7 @@ sub copy_details_barcode {
     my $e = new_editor();
     my $cid = $e->search_asset_copy({barcode=>$barcode, deleted=>'f'}, {idlist=>1})->[0];
     return $e->event unless $cid;
-       return $self->copy_details( $conn, $auth, $cid );
+       return copy_details( $self, $conn, $auth, $cid );
 }