#12026 Fixed configuration
This commit is contained in:
parent
a008c7486c
commit
31acb0964a
|
@ -177,10 +177,7 @@ class InventoryWidget extends Widget
|
||||||
|
|
||||||
// Must be configured before using.
|
// Must be configured before using.
|
||||||
$this->configurationRequired = false;
|
$this->configurationRequired = false;
|
||||||
if (isset($this->values['inventoryModuleId'])
|
if (isset($this->values['idGroup']) === false) {
|
||||||
&& $this->values['inventoryModuleId'] === 'basic'
|
|
||||||
&& $this->values['agentId'] === 0
|
|
||||||
) {
|
|
||||||
$this->configurationRequired = true;
|
$this->configurationRequired = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue