Skip to content

Commit

Permalink
undefined index
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouaini528 committed Oct 20, 2021
1 parent 705ac38 commit b24abca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Api/WebSocket/SocketClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ protected function getData($global,$callback=null,$sub=[]){
}else{
//public
//$data=$global->get(strtolower($v));
$data=$global_local['public'][strtolower($v)];
$t=strtolower($v);
if(isset($global_local['public'][$t])) $data=$global_local['public'][$t];
}

if(empty($data)) continue;
Expand Down

0 comments on commit b24abca

Please sign in to comment.