From 5c6a7acb7dc429dd2613c9ae5ffbb090b52e662d Mon Sep 17 00:00:00 2001 From: johnnyq Date: Fri, 20 Jun 2025 15:25:42 -0400 Subject: [PATCH] Fix Updated at date in Documents --- client_documents.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/client_documents.php b/client_documents.php index 06ed1c3e..7042a1db 100644 --- a/client_documents.php +++ b/client_documents.php @@ -350,7 +350,11 @@ while ($folder_id > 0) { $document_content = nullable_htmlentities($row['document_content']); $document_created_by_name = nullable_htmlentities($row['user_name']); $document_created_at = date("m/d/Y",strtotime($row['document_created_at'])); - $document_updated_at = date("m/d/Y",strtotime($row['document_updated_at'])); + if ($row['document_updated_at']) { + $document_updated_at_display = date("m/d/Y",strtotime($row['document_updated_at'])); + } else { + $document_updated_at_display = "-"; + } $document_folder_id = intval($row['document_folder_id']); // Check if shared @@ -395,7 +399,7 @@ while ($folder_id > 0) {
- + 0) { ?>