Skip to content

Commit

Permalink
Merge pull request #754 from o-psi/fixed2-typo-in-product-logging
Browse files Browse the repository at this point in the history
Fixed a typo in product logging
  • Loading branch information
johnnyq authored Oct 12, 2023
2 parents df14ac8 + 9b7ef47 commit 5a1b93a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion post/product.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
mysqli_query($mysqli,"INSERT INTO logs SET log_type = 'Product', log_action = 'Modify', log_description = '$name', log_user_id = $session_user_id");

//logging
mysqli_query($mysqli,"INSERT INTO logs SET log_type = 'Product', log_action = 'Modify', log_description = '$session_name modifyed product $name', 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 = 'Product', log_action = 'Modify', log_description = '$session_name modified product $name', log_ip = '$session_ip', log_user_agent = '$session_user_agent', log_user_id = $session_user_id");

$_SESSION['alert_message'] = "Product <strong>$name</strong> modified";

Expand Down

0 comments on commit 5a1b93a

Please sign in to comment.