From 5cbe5341e082008a981f4321874af9814def3ef9 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 25 Oct 2013 16:22:15 -0400 Subject: [PATCH] ff : connector sanity check org id Signed-off-by: Bill Erickson --- Open-ILS/src/perlmods/lib/FulfILLment/LAIConnector.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Open-ILS/src/perlmods/lib/FulfILLment/LAIConnector.pm b/Open-ILS/src/perlmods/lib/FulfILLment/LAIConnector.pm index b83583d3ac..07fc9475a9 100644 --- a/Open-ILS/src/perlmods/lib/FulfILLment/LAIConnector.pm +++ b/Open-ILS/src/perlmods/lib/FulfILLment/LAIConnector.pm @@ -14,6 +14,8 @@ my $U = 'OpenILS::Application::AppUtils'; sub load { my ($class, $org_id) = @_; + return undef unless $org_id; + # collect all of the FF org unit settings for this org. my $settings = new_editor()->search_config_org_unit_setting_type( {name => {'like' => 'ff.remote.connector%'}} -- 2.11.0