aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php2
1 files changed, 1 insertions, 1 deletions
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) )