We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c948ccf commit ab18005Copy full SHA for ab18005
client_document_details.php
@@ -84,7 +84,7 @@
84
<tbody>
85
<?php
86
$sql_document_revisions = mysqli_query($mysqli, "SELECT * FROM documents
87
- LEFT JOIN users ON document_created_by = user_id
+ LEFT JOIN users ON document_updated_by = user_id
88
WHERE document_parent = $document_parent
89
ORDER BY document_created_at ASC"
90
);
@@ -101,6 +101,9 @@
101
$revision_document_description_display = "-";
102
}
103
$revision_document_author = nullable_htmlentities($row['user_name']);
104
+ if (empty($revision_document_author)) {
105
+ $revision_document_author = $document_created_by_name;
106
+ }
107
$revision_document_created_date = date('Y-m-d', strtotime($row['document_created_at']));
108
109
?>
0 commit comments