[open-ils-commits] r10168 - branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Application/Circ

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Jul 28 22:40:52 EDT 2008


Author: miker
Date: 2008-07-28 22:40:46 -0400 (Mon, 28 Jul 2008)
New Revision: 10168

Modified:
   branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
Log:
copy-n-paste error -- thanks Dan!

Modified: branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
===================================================================
--- branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm	2008-07-29 02:34:57 UTC (rev 10167)
+++ branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm	2008-07-29 02:40:46 UTC (rev 10168)
@@ -1077,9 +1077,9 @@
             my $cn = $self->editor->retrieve_asset_call_number($copy->call_number);
 
             my $default_price = $U->ou_ancestor_setting_value(
-                $cn->owning_lib, OILS_SETTING_DEF_ITEM_PRICE, $e) || 0;
+                $cn->owning_lib, OILS_SETTING_DEF_ITEM_PRICE, $self->editor) || 0;
             my $charge_on_0 = $U->ou_ancestor_setting_value(
-                $cn->owning_lib, OILS_SETTING_CHARGE_LOST_ON_ZERO, $e) || 0;
+                $cn->owning_lib, OILS_SETTING_CHARGE_LOST_ON_ZERO, $self->editor) || 0;
 
             # Find the most appropriate "price" -- same definition as the
             # LOST price.  See OpenILS::Circ::new_set_circ_lost



More information about the open-ils-commits mailing list