From 79ea99ee8cf0c387606087fc9cc9c379512ccd9c Mon Sep 17 00:00:00 2001 From: cflip <36554078+cflip@users.noreply.github.com> Date: Wed, 14 Apr 2021 18:18:29 -0600 Subject: Add post editing page (#12) --- model/Post.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'model') diff --git a/model/Post.php b/model/Post.php index d7aba72..34d6a79 100644 --- a/model/Post.php +++ b/model/Post.php @@ -69,8 +69,7 @@ class Post { } if (isset($_SESSION['signed_in']) && $_SESSION['user_id'] == $this->author->id) { echo ''; - echo '[Edit] '; - echo '[Delete]'; + echo '[Edit/Delete] '; echo''; } echo ''; -- cgit v1.2.3