diff options
Diffstat (limited to 'model/Post.php')
-rw-r--r-- | model/Post.php | 3 |
1 files changed, 1 insertions, 2 deletions
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 '<span style="float:right;">'; - echo '[<a href="includes/manage_post.php?action=edit&id=' . $this->id . '">Edit</a>] '; - echo '[<a href="includes/manage_post.php?action=delete&id=' . $this->id . '">Delete</a>]'; + echo '[<a href="manage_post.php?id=' . $this->id . '">Edit/Delete</a>] '; echo'</span>'; } echo '</div>'; |