From 412d4f4864558eceb22325074dccd05a3deaa979 Mon Sep 17 00:00:00 2001 From: Kyle Hall Date: Mon, 11 Apr 2022 13:02:26 -0400 Subject: [PATCH] Bug 30410: (QA follow-up) Only fetch plugins mapping once Signed-off-by: Fridolin Somers --- Koha/BackgroundJob.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/BackgroundJob.pm b/Koha/BackgroundJob.pm index e42a9cc903..c661746d7d 100644 --- a/Koha/BackgroundJob.pm +++ b/Koha/BackgroundJob.pm @@ -263,7 +263,7 @@ sub type_to_class_mapping { my $plugins_mapping = $self->plugin_types_to_classes; return ($plugins_mapping) - ? { %{ $self->core_types_to_classes }, %{ $self->plugin_types_to_classes } } + ? { %{ $self->core_types_to_classes }, %$plugins_mapping } : $self->core_types_to_classes; } -- 2.39.5