View | Details | Raw Unified | Return to bug 23166
Collapse All | Expand All

(-)a/Koha/Template/Plugin/Context.pm (-1 / +1 lines)
Lines 46-51 Return object set in scalar context Link Here
46
46
47
sub Scalar {
47
sub Scalar {
48
    my ( $self, $set, $method ) = @_;
48
    my ( $self, $set, $method ) = @_;
49
    return unless $set;
49
    $set = $set->$method;
50
    $set = $set->$method;
50
    return $set;
51
    return $set;
51
}
52
}
52
- 

Return to bug 23166