Fix missing global var causing failure of include for username validation

git-svn-id: file:///svn/phpbb/trunk@2388 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2002-03-21 13:29:53 +00:00
parent c89f896c27
commit 21f720a265

View file

@ -142,7 +142,7 @@ function unprepare_message($message)
// //
function prepare_post(&$mode, &$post_data, &$bbcode_on, &$html_on, &$smilies_on, &$error_msg, &$username, &$bbcode_uid, &$subject, &$message, &$poll_title, &$poll_options, &$poll_length) function prepare_post(&$mode, &$post_data, &$bbcode_on, &$html_on, &$smilies_on, &$error_msg, &$username, &$bbcode_uid, &$subject, &$message, &$poll_title, &$poll_options, &$poll_length)
{ {
global $board_config, $userdata, $lang, $phpEx; global $board_config, $userdata, $lang, $phpEx, $phpbb_root_path;
// Check username // Check username
if ( !empty($username) ) if ( !empty($username) )