|
From: Paul S. O. <ps...@us...> - 2001-12-15 22:05:27
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv2477
Modified Files:
posting.php
Log Message:
This time I really fixed posting to prevent deletion of topic titles when editing
Index: posting.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/posting.php,v
retrieving revision 1.124
retrieving revision 1.125
diff -C2 -r1.124 -r1.125
*** posting.php 2001/12/15 14:19:29 1.124
--- posting.php 2001/12/15 22:05:25 1.125
***************
*** 1059,1063 ****
$post_subject = trim(strip_tags($HTTP_POST_VARS['subject']));
! if( ( $mode == "newtopic" || $mode == "editpost" ) && empty($post_subject) )
{
$error = TRUE;
--- 1059,1063 ----
$post_subject = trim(strip_tags($HTTP_POST_VARS['subject']));
! if( ( $mode == "newtopic" || ( $mode == "editpost" && $is_first_post_topic ) ) && empty($post_subject) )
{
$error = TRUE;
|