Explorar el Código

upd

station_14109
altob.rd hace 8 años
padre
commit
5b808eeb38
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      coworker/mqtt_service.php

+ 1
- 1
coworker/mqtt_service.php Ver fichero

@@ -74,7 +74,7 @@ function procmsg($topic, $msg)
{
$data = array('topic' => $topic, 'msg' => $msg, 'ck' => md5($topic.'altob'.$msg));
if($topic == 'altob.888.mqtt')
if(in_array($topic, array('altob.888.mqtt')))
{
// dispatch
$ch = curl_init();


Cargando…
Cancelar
Guardar