|
From: Jonathan H. <the...@us...> - 2002-04-01 20:59:16
|
Update of /cvsroot/phpbb/phpBB2 In directory usw-pr-cvs1:/tmp/cvs-serv21206 Modified Files: posting.php Log Message: Ok so we shouldn't allow subject lines to be all whitespace either :) Index: posting.php =================================================================== RCS file: /cvsroot/phpbb/phpBB2/posting.php,v retrieving revision 1.158 retrieving revision 1.159 diff -C2 -r1.158 -r1.159 *** posting.php 31 Mar 2002 00:06:33 -0000 1.158 --- posting.php 1 Apr 2002 20:07:51 -0000 1.159 *************** *** 520,524 **** case 'reply': $username = ( !empty($HTTP_POST_VARS['username']) ) ? $HTTP_POST_VARS['username'] : ''; ! $subject = ( !empty($HTTP_POST_VARS['subject']) ) ? $HTTP_POST_VARS['subject'] : ''; $message = ( !empty($HTTP_POST_VARS['message']) ) ? $HTTP_POST_VARS['message'] : ''; $poll_title = ( isset($HTTP_POST_VARS['poll_title']) && $is_auth['auth_pollcreate'] ) ? $HTTP_POST_VARS['poll_title'] : ''; --- 520,524 ---- case 'reply': $username = ( !empty($HTTP_POST_VARS['username']) ) ? $HTTP_POST_VARS['username'] : ''; ! $subject = ( !empty($HTTP_POST_VARS['subject']) ) ? trim($HTTP_POST_VARS['subject']) : ''; $message = ( !empty($HTTP_POST_VARS['message']) ) ? $HTTP_POST_VARS['message'] : ''; $poll_title = ( isset($HTTP_POST_VARS['poll_title']) && $is_auth['auth_pollcreate'] ) ? $HTTP_POST_VARS['poll_title'] : ''; *************** *** 1083,1085 **** include($phpbb_root_path . 'includes/page_tail.'.$phpEx); ! ?> \ No newline at end of file --- 1083,1085 ---- include($phpbb_root_path . 'includes/page_tail.'.$phpEx); ! ?> |