From 1dae87cb9aeff623d97b1b993b6f27a46810b68a Mon Sep 17 00:00:00 2001 From: miker Date: Tue, 29 Jul 2008 02:34:57 +0000 Subject: [PATCH] copy-n-paste error -- thanks Dan! 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm index 152ea5c0cd..d7b42a79b3 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm @@ -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 -- 2.43.2