mirror of
https://github.com/itflow-org/itflow
synced 2026-03-17 19:24:50 +00:00
Fix Updated at date in Documents
This commit is contained in:
@@ -350,7 +350,11 @@ while ($folder_id > 0) {
|
|||||||
$document_content = nullable_htmlentities($row['document_content']);
|
$document_content = nullable_htmlentities($row['document_content']);
|
||||||
$document_created_by_name = nullable_htmlentities($row['user_name']);
|
$document_created_by_name = nullable_htmlentities($row['user_name']);
|
||||||
$document_created_at = date("m/d/Y",strtotime($row['document_created_at']));
|
$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']);
|
$document_folder_id = intval($row['document_folder_id']);
|
||||||
|
|
||||||
// Check if shared
|
// Check if shared
|
||||||
@@ -395,7 +399,7 @@ while ($folder_id > 0) {
|
|||||||
<?php echo $document_created_at; ?>
|
<?php echo $document_created_at; ?>
|
||||||
<div class="text-secondary mt-1"><?php echo $document_created_by_name; ?>
|
<div class="text-secondary mt-1"><?php echo $document_created_by_name; ?>
|
||||||
</td>
|
</td>
|
||||||
<td><?php echo $document_updated_at; ?></td>
|
<td><?php echo $document_updated_at_display; ?></td>
|
||||||
<td>
|
<td>
|
||||||
<?php if (mysqli_num_rows($sql_shared) > 0) { ?>
|
<?php if (mysqli_num_rows($sql_shared) > 0) { ?>
|
||||||
<div class="media" title="Expires <?php echo $item_expire_at_human; ?>">
|
<div class="media" title="Expires <?php echo $item_expire_at_human; ?>">
|
||||||
|
|||||||
Reference in New Issue
Block a user