|
|
@@ -183,7 +183,7 @@ $ws_worker->onMessage = function($connection, $data)
|
|
|
|
|
|
if ($res && isset($res['type'])) {
|
|
|
if ($res['type'] == 'updateDev' && isset($res['id']) && !empty($res['id'])){
|
|
|
- $arr = explode(','$res['id']);
|
|
|
+ $arr = explode(',',$res['id']);
|
|
|
if (!empty($arr)) {
|
|
|
foreach ($arr as $key) {
|
|
|
if (is_int($key) && !empty($key)) {
|