Lines 23-28
use Template::Plugin;
Link Here
|
23 |
use base qw( Template::Plugin ); |
23 |
use base qw( Template::Plugin ); |
24 |
|
24 |
|
25 |
use Koha::BiblioFrameworks; |
25 |
use Koha::BiblioFrameworks; |
|
|
26 |
use Koha::I18N qw( __ ); |
26 |
|
27 |
|
27 |
=head1 NAME |
28 |
=head1 NAME |
28 |
|
29 |
|
Lines 47-53
is not found
Link Here
|
47 |
sub GetName { |
48 |
sub GetName { |
48 |
my ( $self, $frameworkcode ) = @_; |
49 |
my ( $self, $frameworkcode ) = @_; |
49 |
return q{} unless defined $frameworkcode; |
50 |
return q{} unless defined $frameworkcode; |
50 |
return q{} if $frameworkcode eq q{}; |
51 |
return __("Default") if $frameworkcode eq q{}; |
51 |
|
52 |
|
52 |
my $f = Koha::BiblioFrameworks->find($frameworkcode); |
53 |
my $f = Koha::BiblioFrameworks->find($frameworkcode); |
53 |
|
54 |
|
54 |
- |
|
|