From 8b727f0c812d59443ed833ceac5c9a733267d5d8 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 9 May 2023 12:04:33 +0200 Subject: [PATCH] Bug 33607: Handle default framework --- Koha/Template/Plugin/Frameworks.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Koha/Template/Plugin/Frameworks.pm b/Koha/Template/Plugin/Frameworks.pm index e2d9572399b..01305455be3 100644 --- a/Koha/Template/Plugin/Frameworks.pm +++ b/Koha/Template/Plugin/Frameworks.pm @@ -23,6 +23,7 @@ use Template::Plugin; use base qw( Template::Plugin ); use Koha::BiblioFrameworks; +use Koha::I18N qw( __ ); =head1 NAME @@ -47,7 +48,7 @@ is not found sub GetName { my ( $self, $frameworkcode ) = @_; return q{} unless defined $frameworkcode; - return q{} if $frameworkcode eq q{}; + return __("Default") if $frameworkcode eq q{}; my $f = Koha::BiblioFrameworks->find($frameworkcode); -- 2.25.1