[Koha-bugs] [Bug 26138] Errors if enable_plugins is zero

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 5 09:33:29 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26138

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 107819
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=107819&action=edit
Bug 26138: Make Koha::Plugins->call return consistent value

It must return an empty array in case the enable_plugins config flag is
disabled

Test plan:
Turn the config off in koha-conf
Start a search at the OPAC
Without this patch you got:
  Can't use string ("0") as a HASH ref while "strict refs" in use at
/home/vagrant/kohaclone/opac/opac-search.pl line 661
With this patch applied you see the search result

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list