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))
|
implode(', ', array_values($values))
|
||||||
);
|
);
|
||||||
|
|
||||||
return @db_process_sql($sql);
|
return @db_process_sql($sql, 'insert_id');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue