Merge branch 'ent-8869-creacion-de-alertas-no-registra-la-accion' into 'develop'

Fix alert creation return id

See merge request artica/pandorafms!4838
This commit is contained in:
Daniel Rodriguez 2022-04-25 14:03:44 +00:00
commit 13485318de
1 changed files with 1 additions and 1 deletions

View File

@ -1165,7 +1165,7 @@ function alerts_create_alert_agent_module($id_agent_module, $id_alert_template,
implode(', ', array_values($values))
);
return @db_process_sql($sql);
return @db_process_sql($sql, 'insert_id');
}