diff --git a/html/forum/edit.php b/html/forum/edit.php index 21cdbb68ac..923f354ace 100644 --- a/html/forum/edit.php +++ b/html/forum/edit.php @@ -22,7 +22,7 @@ if ($_POST['submit']) { } updatePost($post->id, $_POST['content']); - if ($post->parent_post==0){ + if ($post->parent_post==0 and $thread->owner==$logged_in_user->id){ updateThread($thread->id, $_POST['title']); } @@ -54,7 +54,7 @@ show_forum_title($forum, $thread, $category->is_helpdesk); echo "