aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-12-02 13:19:40 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-12-02 13:19:40 +0000
commit7ad986c37e15bc51f5dc2cb42a4fa6445fde51e3 (patch)
treeb2bbf1e855f1c185f76972777cef56b29e5e10d2 /phpBB/posting.php
parentde1c536548c5b41d33a16f3afe12ba67000d7210 (diff)
downloadforums-7ad986c37e15bc51f5dc2cb42a4fa6445fde51e3.tar
forums-7ad986c37e15bc51f5dc2cb42a4fa6445fde51e3.tar.gz
forums-7ad986c37e15bc51f5dc2cb42a4fa6445fde51e3.tar.bz2
forums-7ad986c37e15bc51f5dc2cb42a4fa6445fde51e3.tar.xz
forums-7ad986c37e15bc51f5dc2cb42a4fa6445fde51e3.zip
- a bunch of fixes
- added todos to the updater to make sure i do not forget. :) git-svn-id: file:///svn/phpbb/trunk@6698 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 654db73a61..ba32f24626 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -88,7 +88,7 @@ switch ($mode)
trigger_error('NO_POST');
}
- $sql = 'SELECT f.*, t.*, p.*, u.username, u.user_sig, u.user_sig_bbcode_uid, u.user_sig_bbcode_bitfield
+ $sql = 'SELECT f.*, t.*, p.*, u.username, u.username_clean, u.user_sig, u.user_sig_bbcode_uid, u.user_sig_bbcode_bitfield
FROM ' . POSTS_TABLE . ' p, ' . TOPICS_TABLE . ' t, ' . FORUMS_TABLE . ' f, ' . USERS_TABLE . " u
WHERE p.post_id = $post_id
AND t.topic_id = p.topic_id
@@ -794,7 +794,7 @@ if ($submit || $preview || $refresh)
// DNSBL check
if ($config['check_dnsbl'] && !$refresh)
{
- if (($dnsbl = $user->check_dnsbl()) !== false)
+ if (($dnsbl = $user->check_dnsbl('post')) !== false)
{
$error[] = sprintf($user->lang['IP_BLACKLISTED'], $user->ip, $dnsbl[1]);
}