From a2a7edc7618fd36af6684b6829c47fb4e7db1524 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sat, 15 Dec 2001 22:05:25 +0000 Subject: [PATCH] This time I really fixed posting to prevent deletion of topic titles when editing git-svn-id: file:///svn/phpbb/trunk@1595 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/posting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/posting.php b/phpBB/posting.php index 3cafe88871..a1a44cded4 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -1058,7 +1058,7 @@ if( $submit && $mode != "vote" ) } $post_subject = trim(strip_tags($HTTP_POST_VARS['subject'])); - if( ( $mode == "newtopic" || $mode == "editpost" ) && empty($post_subject) ) + if( ( $mode == "newtopic" || ( $mode == "editpost" && $is_first_post_topic ) ) && empty($post_subject) ) { $error = TRUE; if( !empty($error_msg) )