Skip to content

Commit 0f864a8

Browse files
committed
Get Result Fix
1 parent 809c0a9 commit 0f864a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Subreg/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function call($command, $params = [])
9494
$this->lastStatus = $responseRaw['status'];
9595
}
9696

97-
$this->lastResult = array_key_exists('data', $responseRaw) ? $responseRaw['data'] : null ;
97+
$this->lastResult = array_key_exists('data', $responseRaw) ? $responseRaw['data'] : array_key_exists('status', $responseRaw) ? $responseRaw['status'] : null ;
9898

9999
return $this->lastResult;
100100
}

0 commit comments

Comments
 (0)