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