mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-02 00:32:09 +02:00
Merge pull request #2829 from laf/port-edit-fix
This commit is contained in:
@@ -55,7 +55,8 @@ foreach (dbFetchRows($sql, $param) as $port) {
|
|||||||
$dowecare = ($port['ignore'] == 0 && $port['disabled'] == 0) ? $isportbad : !$isportbad;
|
$dowecare = ($port['ignore'] == 0 && $port['disabled'] == 0) ? $isportbad : !$isportbad;
|
||||||
$outofsync = $dowecare ? " class='red'" : '';
|
$outofsync = $dowecare ? " class='red'" : '';
|
||||||
$checked = '';
|
$checked = '';
|
||||||
if (get_dev_attrib($device_id, 'ifName_tune:'.$port['ifName']) == "true") {
|
$device['device_id'] = $device_id;
|
||||||
|
if (get_dev_attrib($device, 'ifName_tune:'.$port['ifName']) == "true") {
|
||||||
$checked = 'checked';
|
$checked = 'checked';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user