[open-ils-commits] r8702 -
trunk/Open-ILS/src/perlmods/OpenILS/Application
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Feb 8 16:15:05 EST 2008
Author: erickson
Date: 2008-02-08 15:46:18 -0500 (Fri, 08 Feb 2008)
New Revision: 8702
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm
Log:
calling copy_details directly to prevent any issues with the $self variable
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm 2008-02-08 19:56:33 UTC (rev 8701)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm 2008-02-08 20:46:18 UTC (rev 8702)
@@ -890,7 +890,7 @@
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 );
}
More information about the open-ils-commits
mailing list