From e216df769e05a901d76dc0316dcef3e669e548ee Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 10 Nov 2022 08:16:06 +0100 Subject: [PATCH] Bug 32163: (bug 32030 follow-up) Fix koha_object[s]_class for ErmUserRole Test plan: run t/db_dependent/TestBuilder.t and confirm that the error related to this module is gone. Another one may still fail however Signed-off-by: Pedro Amorim Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/ErmUserRole.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/ErmUserRole.pm b/Koha/Schema/Result/ErmUserRole.pm index d57f58b5fc..0c217b0f97 100644 --- a/Koha/Schema/Result/ErmUserRole.pm +++ b/Koha/Schema/Result/ErmUserRole.pm @@ -130,10 +130,10 @@ __PACKAGE__->belongs_to( # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RkK5cQWFEmcrDioAfjOVWQ sub koha_object_class { - 'Koha::ERM::Agreement::UserRole'; + 'Koha::ERM::UserRole'; } sub koha_objects_class { - 'Koha::ERM::Agreement::UserRoles'; + 'Koha::ERM::UserRoles'; } 1; -- 2.39.5