copy-n-paste error -- thanks Dan!
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 29 Jul 2008 02:34:57 +0000 (02:34 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 29 Jul 2008 02:34:57 +0000 (02:34 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10167 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 152ea5c..d7b42a7 100644 (file)
@@ -1077,9 +1077,9 @@ sub build_checkout_circ_object {
             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