From 06c2f8993108607de19ee30799770e20f705e667 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 22 Aug 2022 18:09:27 +0100 Subject: [PATCH] Bug 23681: (follow-up) Re-fix ::Patron::Restriction::Type(s) --- admin/restrictions.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/restrictions.pl b/admin/restrictions.pl index c8d82efbe5..facec8e319 100755 --- a/admin/restrictions.pl +++ b/admin/restrictions.pl @@ -79,7 +79,7 @@ if ( $op eq 'add_form') { type => 'error', code => 'duplicate_code' }; } else { - my $restriction = Koha::RestrictionType->new({ + my $restriction = Koha::Patron::Restriction::Type->new({ code => $code, display_text => $display_text }); -- 2.20.1