mirror of
https://github.com/itflow-org/itflow
synced 2026-07-24 09:20:40 +00:00
Replace Function logAction() with logAudit()
This commit is contained in:
@@ -18,7 +18,7 @@ if (isset($_POST['edit_ai_settings'])) {
|
||||
|
||||
mysqli_query($mysqli,"UPDATE settings SET config_ai_enable = $ai_enable, config_ai_provider = '$provider', config_ai_model = '$model', config_ai_url = '$url', config_ai_api_key = '$api_key' WHERE company_id = 1");
|
||||
|
||||
logAction("Settings", "Edit", "$session_name edited AI settings");
|
||||
logAudit("Settings", "Edit", "$session_name edited AI settings");
|
||||
|
||||
flash_alert("AI Settings updated");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user