Skip to content

Commit

Permalink
Update ajax.php - Assets > Asset logging
Browse files Browse the repository at this point in the history
Adjust logging for asset changes so they are logged as type 'asset' not 'assets', to match existing logging
  • Loading branch information
wrongecho authored Aug 10, 2024
1 parent 4185c28 commit 693156c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
mysqli_query($mysqli, "UPDATE assets SET asset_notes = '$notes' WHERE asset_id = $asset_id");

// Logging
mysqli_query($mysqli, "INSERT INTO logs SET log_type = 'Assets', log_action = 'Modify', log_description = '$session_name modified asset notes', log_ip = '$session_ip', log_user_agent = '$session_user_agent', log_user_id = $session_user_id");
mysqli_query($mysqli, "INSERT INTO logs SET log_type = 'Asset', log_action = 'Modify', log_description = '$session_name modified asset notes', log_ip = '$session_ip', log_user_agent = '$session_user_agent', log_user_id = $session_user_id");

}

Expand Down

0 comments on commit 693156c

Please sign in to comment.