mirror of
https://github.com/itflow-org/itflow
synced 2026-08-16 12:35:11 +00:00
Fix share link view accounting and quote response handling
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user