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

(-)a/Koha/Logger.pm (-2 / +4 lines)
Lines 194-203 sub debug_to_screen { Link Here
194
Mojolicous 8.23 added a "context" method, which Mojolicious will die
194
Mojolicous 8.23 added a "context" method, which Mojolicious will die
195
on if it's missing from the logger.
195
on if it's missing from the logger.
196
196
197
Note: We are just preventing a crash here not returning a new context logger.
198
197
=cut
199
=cut
198
200
199
sub context {
201
sub context {
200
    my $self = shift;
202
    my ( $self, @context ) = @_;
203
    $self->{context} = \@context;
201
    return $self;
204
    return $self;
202
}
205
}
203
206
204
- 

Return to bug 22678