aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2005-01-27 18:54:20 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2005-01-27 18:54:20 +0000
commit7253ee19caf5fdc030f2aa6fae851e8f6902f432 (patch)
tree32ed45f453d07cd930a460849729ad67e17f4d27 /phpBB
parentb26f910eb149109a15eba40ad030e1b9751393d9 (diff)
downloadforums-7253ee19caf5fdc030f2aa6fae851e8f6902f432.tar
forums-7253ee19caf5fdc030f2aa6fae851e8f6902f432.tar.gz
forums-7253ee19caf5fdc030f2aa6fae851e8f6902f432.tar.bz2
forums-7253ee19caf5fdc030f2aa6fae851e8f6902f432.tar.xz
forums-7253ee19caf5fdc030f2aa6fae851e8f6902f432.zip
- 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
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/memberlist.php2
-rw-r--r--phpBB/posting.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php
index 63ca2ab136..2bd6ed0911 100644
--- a/phpBB/memberlist.php
+++ b/phpBB/memberlist.php
@@ -986,7 +986,7 @@ function show_profile($data)
}
else
{
- if(isset($ranks['normal']))
+ if (isset($ranks['normal']))
{
foreach ($ranks['normal'] as $rank)
{
diff --git a/phpBB/posting.php b/phpBB/posting.php
index aab0d3da78..a7ba19488a 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -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'))
{