#12026 Fixed configuration

This commit is contained in:
Daniel Maya 2024-01-15 11:18:31 +01:00
parent a008c7486c
commit 31acb0964a
1 changed files with 1 additions and 4 deletions

View File

@ -177,10 +177,7 @@ class InventoryWidget extends Widget
// Must be configured before using.
$this->configurationRequired = false;
if (isset($this->values['inventoryModuleId'])
&& $this->values['inventoryModuleId'] === 'basic'
&& $this->values['agentId'] === 0
) {
if (isset($this->values['idGroup']) === false) {
$this->configurationRequired = true;
}
}