From: miker Date: Tue, 29 Jul 2008 02:40:46 +0000 (+0000) Subject: copy-n-paste error -- thanks Dan! X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=bf9201a88a96103cb50536672f561e8a87634844;p=Evergreen.git copy-n-paste error -- thanks Dan! git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@10168 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm index 512ec9ec6d..cb2cf9c41e 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