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) {