Skip to content
Permalink
Browse files

Update mqtt_edit.inc.php

  • Loading branch information...
directman66 committed Apr 22, 2019
1 parent a6de31f commit aa836ed914c09ae445664644e7134d240802832f
Showing with 8 additions and 6 deletions.
  1. +8 −6 modules/zigbee2mqtt/mqtt_edit.inc.php
@@ -36,12 +36,14 @@
// $ok=0;
// }
//updating 'LOCATION_ID' (select)
if (IsSet($this->location_id)) {
$rec['LOCATION_ID']=$this->location_id;
} else {
global $location_id;
$rec['LOCATION_ID']=$location_id;
}
// if (IsSet($this->location_id)) {
// $rec['LOCATION_ID']=$this->location_id;
// } else {
// global $dev_location_id;
//debmes('$dev_location_id='. $dev_location_id, 'zigbee2mqtt');
// $rec['LOCATION_ID']=$dev_location_id;
// }
//updating 'PATH' (varchar, required)
// global $path;
// $rec['PATH']=$path;

0 comments on commit aa836ed

Please sign in to comment.
You can’t perform that action at this time.