wzh 5 роки тому
батько
коміт
f1e46773bc
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      websocket/idcolWss.php

+ 1 - 1
websocket/idcolWss.php

@@ -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)) {