diff --git a/Koha/Template/Plugin/Context.pm b/Koha/Template/Plugin/Context.pm index 03c024b609..3e5be2b3da 100644 --- a/Koha/Template/Plugin/Context.pm +++ b/Koha/Template/Plugin/Context.pm @@ -38,6 +38,12 @@ Especially useful to call ->search =cut +=head3 Scalar + +Return object set in scalar context + +=cut + sub Scalar { my ( $self, $set, $method ) = @_; $set = $set->$method;