mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +00:00
- fix serious bug (not updating topic/post count), i do not know why this slipped through and no one noticed... :) Maybe only i, lately i was performing very badly, had a few flaws, need to update myself to a stable version...
git-svn-id: file:///svn/phpbb/trunk@5082 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
b26f910eb1
commit
7253ee19ca
2 changed files with 2 additions and 2 deletions
|
@ -986,7 +986,7 @@ function show_profile($data)
|
|||
}
|
||||
else
|
||||
{
|
||||
if(isset($ranks['normal']))
|
||||
if (isset($ranks['normal']))
|
||||
{
|
||||
foreach ($ranks['normal'] as $rank)
|
||||
{
|
||||
|
|
|
@ -1460,7 +1460,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
|
|||
|
||||
$sql_data[USERS_TABLE]['stat'][] = "user_lastpost_time = $current_time" . (($auth->acl_get('f_postcount', $data['forum_id'])) ? ', user_posts = user_posts + 1' : '');
|
||||
|
||||
if ($topic_type == POST_GLOBAL)
|
||||
if ($topic_type != POST_GLOBAL)
|
||||
{
|
||||
if (!$auth->acl_get('f_moderate', $data['forum_id']) || $auth->acl_get('m_approve'))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue