@@ -, +, @@ t/db_dependent/Template/Plugin/Branches.t --- Koha/Template/Plugin/Branches.pm | 1 + 1 file changed, 1 insertion(+) --- a/Koha/Template/Plugin/Branches.pm +++ a/Koha/Template/Plugin/Branches.pm @@ -30,6 +30,7 @@ use Koha::Libraries; sub GetName { my ( $self, $branchcode ) = @_; + return q{} unless defined $branchcode; my $memory_cache = Koha::Cache::Memory::Lite->get_instance; my $cache_key = "Library_branchname:" . $branchcode; --