aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-06-01 19:44:45 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-06-01 19:44:45 +0000
commit3d6d86d995f12472c92f82cb9e2c9cec067b6137 (patch)
tree075049024166120eba32ca2ab70780987999c58e /phpBB/posting.php
parent0c101c3dd4939074d2851518d9c021509ba49d67 (diff)
downloadforums-3d6d86d995f12472c92f82cb9e2c9cec067b6137.tar
forums-3d6d86d995f12472c92f82cb9e2c9cec067b6137.tar.gz
forums-3d6d86d995f12472c92f82cb9e2c9cec067b6137.tar.bz2
forums-3d6d86d995f12472c92f82cb9e2c9cec067b6137.tar.xz
forums-3d6d86d995f12472c92f82cb9e2c9cec067b6137.zip
userdata -> ucp
git-svn-id: file:///svn/phpbb/trunk@4071 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 3d8ce85e59..8b8e3f8246 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -676,9 +676,9 @@ if ($submit || $preview || $refresh)
if (($username != '' && $user->data['user_id'] == ANONYMOUS) || ($mode == 'edit' && $post_username != ''))
{
include($phpbb_root_path . 'includes/functions_user.' . $phpEx);
- $userdata = new userdata();
+ $ucp = new ucp();
$username = strip_tags(htmlspecialchars($username));
- if (($result = $userdata->validate_username($username)) != false)
+ if (($result = $ucp->validate_username($username)) != false)
{
$err_msg .= ((!empty($err_msg)) ? '<br />' : '') . $result;
}