mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
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:
parent
c89f896c27
commit
21f720a265
1 changed files with 1 additions and 1 deletions
|
@ -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) )
|
||||||
|
|
Loading…
Add table
Reference in a new issue