Fix share link view accounting and quote response handling

This commit is contained in:
johnnyq
2026-07-27 21:11:45 -04:00
parent f129311b2e
commit 22e93589cb
5 changed files with 34 additions and 13 deletions

View File

@@ -145,7 +145,7 @@ if ($item_type == "Document") {
// Logging
$name = mysqli_real_escape_string($mysqli, $doc_title);
logAudit("Share", "View", "Viewed shared $item_type $doc_title_escaped via link", $client_id);
logAudit("Share", "View", "Viewed shared $item_type $doc_title_escaped via link", $client_id, $item_id);
} elseif ($item_type == "File") {
@@ -268,7 +268,7 @@ if ($item_type == "Document") {
// Logging
$name = escapeSql($credential_row['credential_name']);
logAudit("Share", "View", "Viewed shared $item_type $name via link", $client_id);
logAudit("Share", "View", "Viewed shared $item_type $name via link", $client_id, $item_id);
}