aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_convert.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-05-16 14:45:13 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-05-16 14:45:13 +0000
commit38e08367d2f7dbf1127c8ac7912e9a0532d5f366 (patch)
tree7a012f465ac94e43928b7f7301d96d537d401147 /phpBB/includes/functions_convert.php
parent6814ab81d70ff7f614aedecae53b36445e6faeb2 (diff)
downloadforums-38e08367d2f7dbf1127c8ac7912e9a0532d5f366.tar
forums-38e08367d2f7dbf1127c8ac7912e9a0532d5f366.tar.gz
forums-38e08367d2f7dbf1127c8ac7912e9a0532d5f366.tar.bz2
forums-38e08367d2f7dbf1127c8ac7912e9a0532d5f366.tar.xz
forums-38e08367d2f7dbf1127c8ac7912e9a0532d5f366.zip
label changes, language fixes...
git-svn-id: file:///svn/phpbb/trunk@7608 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_convert.php')
-rw-r--r--phpBB/includes/functions_convert.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/phpBB/includes/functions_convert.php b/phpBB/includes/functions_convert.php
index b27ab6789e..fba79ae22b 100644
--- a/phpBB/includes/functions_convert.php
+++ b/phpBB/includes/functions_convert.php
@@ -1870,8 +1870,9 @@ function update_dynamic_config()
set_config('newest_user_colour', $row['user_colour'], true);
}
- set_config('record_online_users', 1, true);
- set_config('record_online_date', time(), true);
+// Also do not reset record online user/date. There will be old data or the fresh data from the schema.
+// set_config('record_online_users', 1, true);
+// set_config('record_online_date', time(), true);
$sql = 'SELECT COUNT(post_id) AS stat
FROM ' . POSTS_TABLE . '
@@ -1994,8 +1995,8 @@ function update_topics_posted()
foreach ($topic_row as $topic_id)
{
$sql_ary[] = array(
- 'user_id' => $user_id,
- 'topic_id' => $topic_id,
+ 'user_id' => (int) $user_id,
+ 'topic_id' => (int) $topic_id,
'topic_posted' => 1,
);
}