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

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

Return to bug 37856