From d61a18a93bc1b39d91725497ebb2fe85c4785ead Mon Sep 17 00:00:00 2001 From: cflip <36554078+cflip@users.noreply.github.com> Date: Wed, 7 Apr 2021 11:44:11 -0600 Subject: Update links, rename files --- model/Post.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'model/Post.php') diff --git a/model/Post.php b/model/Post.php index bcaff29..d10a505 100644 --- a/model/Post.php +++ b/model/Post.php @@ -37,7 +37,7 @@ class Post { } function display_content() { - echo '
#' . $this->id . ' Posted by ' . $this->author->name . ' on ' . date('m/d/Y g:ia', strtotime($this->date)) . '
'; + echo '
#' . $this->id . ' Posted by ' . $this->author->name . ' on ' . date('m/d/Y g:ia', strtotime($this->date)) . '
'; $post_content = $this->content; @@ -79,4 +79,4 @@ function get_all_posts($dbc) { mysqli_free_result($result); return $posts; -} \ No newline at end of file +} -- cgit v1.2.3