Skip to content

Commit

Permalink
websocket undefined index bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouaini528 committed Sep 3, 2021
1 parent b7c25a3 commit 2b69ead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Api/WebSocketV3/SocketClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ protected function getData($global,$callback=null,$sub=[]){
//$data=$global->get(strtolower($v));
//$temp[strtolower($v)]=$data;
$k_strtolower=strtolower($v);
$temp[$k_strtolower]=$global_local['public'][$k_strtolower];
if(isset($global_local['public'][$k_strtolower])) $temp[$k_strtolower]=$global_local['public'][$k_strtolower];
}
}
}else{
Expand Down

0 comments on commit 2b69ead

Please sign in to comment.