From: atz Date: Wed, 11 Aug 2010 15:57:14 +0000 (+0000) Subject: Respect activate_po option in interface X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2e6369f5ca165e432a24f7ef6533284fe0a0cf0c;p=contrib%2FConifer.git Respect activate_po option in interface git-svn-id: svn://svn.open-ils.org/ILS/trunk@17171 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Acq/Order.pm b/Open-ILS/src/perlmods/OpenILS/Application/Acq/Order.pm index 02b6283adf..d67091f8ff 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Acq/Order.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Acq/Order.pm @@ -1274,7 +1274,7 @@ sub upload_records { $mgr->respond; } - my $die_event = activate_purchase_order_impl($mgr, $po->id) if $po;; + my $die_event = activate_purchase_order_impl($mgr, $po->id) if $po and $activate_po; return $die_event if $die_event; $e->commit;