From 21f720a265958bae1229515e546f3bf9a831fad8 Mon Sep 17 00:00:00 2001
From: "Paul S. Owen" <psotfx@users.sourceforge.net>
Date: Thu, 21 Mar 2002 13:29:53 +0000
Subject: Fix missing global var causing failure of include for username
 validation

git-svn-id: file:///svn/phpbb/trunk@2388 89ea8834-ac86-4346-8a33-228a782c2dd0
---
 phpBB/includes/functions_post.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'phpBB/includes/functions_post.php')

diff --git a/phpBB/includes/functions_post.php b/phpBB/includes/functions_post.php
index 22a3ea7494..3cc7669755 100644
--- a/phpBB/includes/functions_post.php
+++ b/phpBB/includes/functions_post.php
@@ -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)
 {
-	global $board_config, $userdata, $lang, $phpEx;
+	global $board_config, $userdata, $lang, $phpEx, $phpbb_root_path;
 
 	// Check username
 	if ( !empty($username) )
-- 
cgit v1.2.1