소스 검색

no message

MS-PDRLKVHCADMG\Administrator 5 년 전
부모
커밋
b558828dc7
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      api/application/controllers/Lampcontrol.php

+ 2 - 2
api/application/controllers/Lampcontrol.php

@@ -1784,9 +1784,9 @@ class Lampcontrol extends Base_Controller {
                         $res = 1;
                         $msg[] = 'Table '.$num.' row.Wireless module address already exists';
                     }
-                    $data["manu"] = $this->get_manu_by_address($data["address"]);
+                    $value["manu"] = $this->get_manu_by_address($value["address"]);
 
-                    if (empty($data["manu"])) {
+                    if (empty($value["manu"])) {
                         $res = 1;
                         $msg[] = 'Table '.$num.' row.Invalid ID';
                     }else{