diff --git a/Koha/ILL/Request/Config.pm b/Koha/ILL/Request/Config.pm index f4e19ff95f..332bc7cbb2 100644 --- a/Koha/ILL/Request/Config.pm +++ b/Koha/ILL/Request/Config.pm @@ -115,6 +115,7 @@ Returns a list of names for all the installed ILL backend plugins. sub get_backend_plugin_names { my ( $self ) = @_; + return () unless C4::Context->config("enable_plugins"); my @backend_plugins = Koha::Plugins->new()->GetPlugins( { method => 'ill_backend',