fixed error when no domains are available
Signed-off-by: tracer <tracer@24unix.net>
This commit is contained in:
parent
662737318b
commit
c31642a90e
|
@ -69,7 +69,7 @@ class RequestController
|
|||
if (!empty($this->result)) {
|
||||
echo json_encode(value: $this->result);
|
||||
} else {
|
||||
if ($this->status == 'pong') {
|
||||
if (!empty($this->status) && $this->status == 'pong') {
|
||||
echo json_encode(value: [
|
||||
'response' => $this->status
|
||||
]);
|
||||
|
|
Loading…
Reference in New Issue