From 2e6369f5ca165e432a24f7ef6533284fe0a0cf0c Mon Sep 17 00:00:00 2001 From: atz Date: Wed, 11 Aug 2010 15:57:14 +0000 Subject: [PATCH] Respect activate_po option in interface git-svn-id: svn://svn.open-ils.org/ILS/trunk@17171 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Acq/Order.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Acq/Order.pm b/Open-ILS/src/perlmods/OpenILS/Application/Acq/Order.pm index 02b6283ad..d67091f8f 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; -- 2.11.0