@@ -, +, @@ --- Koha/Template/Plugin/Context.pm | 1 + 1 file changed, 1 insertion(+) --- a/Koha/Template/Plugin/Context.pm +++ a/Koha/Template/Plugin/Context.pm @@ -46,6 +46,7 @@ Return object set in scalar context sub Scalar { my ( $self, $set, $method ) = @_; + return unless $set; $set = $set->$method; return $set; } --