git-svn-id: file:///svn/phpbb/trunk@3867 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Ludovic Arnaud 2003-04-17 01:59:23 +00:00
parent 7e5e8422c8
commit 55fcbef7e0

View file

@ -850,6 +850,7 @@ function submit_post($mode, $message, $subject, $username, $topic_type, $bbcode_
$db->sql_query($sql); $db->sql_query($sql);
// Update user post count ... if appropriate // Update user post count ... if appropriate
// TODO: alter to use the ACL
if (!empty($post_data['enable_post_count']) && $user->data['user_id'] != ANONYMOUS) if (!empty($post_data['enable_post_count']) && $user->data['user_id'] != ANONYMOUS)
{ {
$sql = 'UPDATE ' . USERS_TABLE . ' $sql = 'UPDATE ' . USERS_TABLE . '