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

(-)a/Koha/ERM/EUsage/UsageDataProvider.pm (-3 / +2 lines)
Lines 300-309 sub test_connection { Link Here
300
    my $status;
300
    my $status;
301
    if ( ref($result) eq 'ARRAY' ) {
301
    if ( ref($result) eq 'ARRAY' ) {
302
        for my $r (@$result) {
302
        for my $r (@$result) {
303
            $status = $r->{Service_Active};
303
            $status = $r->{Service_Active} // $r->{ServiceActive};
304
        }
304
        }
305
    } else {
305
    } else {
306
        $status = $result->{Service_Active};
306
        $status = $result->{Service_Active} // $result->{ServiceActive};
307
    }
307
    }
308
308
309
    if ($status) {
309
    if ($status) {
310
- 

Return to bug 37810