diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-06-01 19:44:45 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-06-01 19:44:45 +0000 |
| commit | 3d6d86d995f12472c92f82cb9e2c9cec067b6137 (patch) | |
| tree | 075049024166120eba32ca2ab70780987999c58e /phpBB/posting.php | |
| parent | 0c101c3dd4939074d2851518d9c021509ba49d67 (diff) | |
| download | forums-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.php | 4 |
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; } |
