diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-12-15 22:05:25 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-12-15 22:05:25 +0000 |
commit | a2a7edc7618fd36af6684b6829c47fb4e7db1524 (patch) | |
tree | 100b0c7443529db05fae436aa4a86ec0c05184d8 | |
parent | 219b7c152ce5fffd41620a9ff67481780d7f5261 (diff) | |
download | forums-a2a7edc7618fd36af6684b6829c47fb4e7db1524.tar forums-a2a7edc7618fd36af6684b6829c47fb4e7db1524.tar.gz forums-a2a7edc7618fd36af6684b6829c47fb4e7db1524.tar.bz2 forums-a2a7edc7618fd36af6684b6829c47fb4e7db1524.tar.xz forums-a2a7edc7618fd36af6684b6829c47fb4e7db1524.zip |
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
-rw-r--r-- | phpBB/posting.php | 2 |
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) ) |