From e730172d2dd7df89370420d7661c51e27a2e15cf Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 17 Apr 2004 22:52:16 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=3269 --- html/forum/edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 "
id, "\" method=\"POST\">"; start_forum_table(array("Edit Your Post"), array(NULL), 2); -if ($post->parent_post==0) { +if ($post->parent_post==0 and $thread->owner==$logged_in_user->id) { //If this is the first post enable the user to change title echo " Thread title