From 30475943d7e329475d24be374da0fdbd44c7eadb 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 Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- 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 e2d9572399..01305455be 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.39.5