Fix alert creation return id

This commit is contained in:
Luis 2022-04-25 15:36:17 +02:00
parent e9a25023ce
commit 3e81d3242e
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');
}