diff --git a/Koha/ILL/Request/Config.pm b/Koha/ILL/Request/Config.pm index 111317804c..70f73f0ff5 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',