fix alerts fired widget

This commit is contained in:
alejandro.campos@artica.es 2022-11-17 12:46:37 +01:00
parent 635eb692d1
commit eda1ace809

View File

@ -170,7 +170,7 @@ class AlertsFiredWidget extends Widget
$this->configurationRequired = false; $this->configurationRequired = false;
if (isset($this->values['groupId']) === false) { if (isset($this->values['groupId']) === false) {
$this->configurationRequired = true; $this->configurationRequired = true;
} else { } else if ($this->values['groupId'] !== '0') {
$check_exist = \db_get_value( $check_exist = \db_get_value(
'id_grupo', 'id_grupo',
'tgrupo', 'tgrupo',