From: Bill Erickson Date: Fri, 25 Oct 2013 20:22:15 +0000 (-0400) Subject: ff : connector sanity check org id X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5cbe5341e082008a981f4321874af9814def3ef9;p=evergreen%2Fequinox.git ff : connector sanity check org id Signed-off-by: Bill Erickson --- 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%'}}