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

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

Return to bug 37810