mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Scrut fix
This commit is contained in:
@@ -21,7 +21,7 @@ if ($device['os'] == 'junos') {
|
||||
$state_index_id = create_state_index($state_name);
|
||||
|
||||
//Create State Translation
|
||||
if ($state_index_id) {
|
||||
if ($state_index_id !== null) {
|
||||
$states = array(
|
||||
array($state_index_id,'unknown',0,1,3) ,
|
||||
array($state_index_id,'empty',0,2,3) ,
|
||||
|
||||
Reference in New Issue
Block a user