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

(-)a/Koha/ERM/EUsage/UsageDataProvider.pm (-2 / +1 lines)
Lines 487-493 sub _sushi_errors { Link Here
487
        return 1;
487
        return 1;
488
    }
488
    }
489
489
490
    if ( scalar @{ $decoded_response->{Report_Items} } == 0 ) {
490
    if ( $decoded_response->{Report_Items} && scalar @{ $decoded_response->{Report_Items} } == 0 ) {
491
        $self->{job_callbacks}->{add_message_callback}->(
491
        $self->{job_callbacks}->{add_message_callback}->(
492
            {
492
            {
493
                type => 'error',
493
                type => 'error',
494
- 

Return to bug 37856