diff options
author | cflip <36554078+cflip@users.noreply.github.com> | 2021-04-14 17:23:56 -0600 |
---|---|---|
committer | cflip <36554078+cflip@users.noreply.github.com> | 2021-04-14 17:23:56 -0600 |
commit | 5c0314a75d2722bb99918ef44473f4204462835a (patch) | |
tree | 7f930fd12305baad4e8944ed95f0136e749d3741 /viewcategory.php | |
parent | 424622fbdbe7065cb5b93b39d6cfc5ba0a31775e (diff) |
Add 'date edited' attribute to posts
Diffstat (limited to 'viewcategory.php')
-rw-r--r-- | viewcategory.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/viewcategory.php b/viewcategory.php index 0d69ed8..a10afce 100644 --- a/viewcategory.php +++ b/viewcategory.php @@ -59,7 +59,7 @@ if (!isset($_GET['id']) || !filter_var($_GET['id'], FILTER_VALIDATE_INT)) { echo '<small> by <b><a href="viewuser.php?id=' . $thread->author->id . '">' . $thread->author->name . '</a></b> on ' . date('M d, Y', strtotime($thread->date_created)) . '</small></td>'; if (!is_null($latest_post)) { - echo '<td>by <b><a href="viewuser.php?id=' . $latest_post->author->id . '">' . $latest_post->author->name . '</a></b><small> on ' . $latest_post->date . '</small></td>'; + echo '<td>by <b><a href="viewuser.php?id=' . $latest_post->author->id . '">' . $latest_post->author->name . '</a></b><small> on ' . $latest_post->date_created . '</small></td>'; } else { echo '<td>No posts yet!</td>'; } |