mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-01 03:54:56 +02:00
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
This commit is contained in:
parent
219b7c152c
commit
a2a7edc761
@ -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) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user