mirror of
https://github.com/itflow-org/itflow
synced 2026-08-06 23:57:16 +00:00
Fix remaing undefine vars for audits and flash messages
This commit is contained in:
@@ -10,7 +10,7 @@ if (isset($_POST['edit_theme_settings'])) {
|
||||
|
||||
mysqli_query($mysqli,"UPDATE settings SET config_theme = '$theme' WHERE company_id = 1");
|
||||
|
||||
logAudit("Settings", "Edit", "$session_name edited theme settings $dark_mode");
|
||||
logAudit("Settings", "Edit", "$session_name edited theme settings to $theme");
|
||||
|
||||
flashAlert("Changed theme to <strong>$theme</strong>");
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ if (isset($_GET['delete_ticket_status'])) {
|
||||
exit("Can't delete built-in statuses");
|
||||
}
|
||||
|
||||
$ticlet_status_name = escapeSql(getFieldById('ticket_statuses', $ticket_status_id, 'ticket_status_name'));
|
||||
$ticket_status_name = escapeSql(getFieldById('ticket_statuses', $ticket_status_id, 'ticket_status_name'));
|
||||
|
||||
mysqli_query($mysqli, "DELETE FROM ticket_statuses WHERE ticket_status_id = $ticket_status_id");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user