Bug 28303: Fix plugins system with multiple pluginsdir settings
authorMichael Hafen <michael.hafen@washk12.org>
Fri, 7 May 2021 20:13:49 +0000 (14:13 -0600)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 8 Oct 2021 14:25:09 +0000 (10:25 -0400)
commit9b9ac630ed4858d8a2f9c7a0f9e5ac02b9359a17
tree405cf28742a4ab59cd1a6b10cdaafb7a83265e18
parentd329457a02271e2f43446075d37c33ce534a2969
Bug 28303: Fix plugins system with multiple pluginsdir settings

C4/Templates::badtemplatecheck mucks with the config('pluginsdir') array ref.
This makes sure it operates on a copy of the array.

To test:
   1) $ prove t/db_dependent/Templates.t

Signed-off-by: David Nind <david@davidnind.com>
JK: Fix commit message styling and add test plan

Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Templates.pm