From fb195633021967499447451ecf7a435644846ce3 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Tue, 22 Apr 2003 19:44:00 +0000 Subject: first version of attachment admin panel + some fixes (i hope i do not screw someones code with this, my appologies) git-svn-id: file:///svn/phpbb/trunk@3926 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/posting.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'phpBB/posting.php') diff --git a/phpBB/posting.php b/phpBB/posting.php index a472cb3f55..d74963cc07 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -701,6 +701,7 @@ if (($submit) || ($preview) || ($refresh)) // Validate username if (($username != '' && $user->data['user_id'] == ANONYMOUS) || ($mode == 'edit' && $post_username != '')) { + include($phpbb_root_path . 'includes/functions_user.' . $phpEx); $userdata = new userdata(); $username = strip_tags(htmlspecialchars($username)); if (($result = $userdata->validate_username($username)) != false) @@ -1210,6 +1211,7 @@ function topic_review($topic_id, $is_inline_review = false) FROM " . POSTS_TABLE . " p, " . USERS_TABLE . " u WHERE p.topic_id = $topic_id AND p.poster_id = u.user_id + AND p.post_approved = 1 ORDER BY p.post_time DESC"; $result = $db->sql_query_limit($sql, $config['posts_per_page']); -- cgit v1.2.1