mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fix alert creation return id
This commit is contained in:
parent
e9a25023ce
commit
3e81d3242e
@ -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');
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user