mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
#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…
x
Reference in New Issue
Block a user