mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 04:04:12 +02:00
EOL should be fixed now
git-svn-id: file:///svn/phpbb/trunk@3315 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -468,16 +468,10 @@ if (isset($post))
|
||||
// post counts for index, etc.
|
||||
if ($s_mode == 'post')
|
||||
{
|
||||
$sql = 'UPDATE ' . CONFIG_TABLE . "
|
||||
SET config_value = '" . ($config['num_topics'] + 1) . "'
|
||||
WHERE config_name = 'num_topics'";
|
||||
$db->sql_query($sql);
|
||||
set_config('num_topics', $config['num_topics'] + 1);
|
||||
}
|
||||
|
||||
$sql = 'UPDATE ' . CONFIG_TABLE . "
|
||||
SET config_value = '" . ($config['num_posts'] + 1) . "'
|
||||
WHERE config_name = 'num_posts'";
|
||||
$db->sql_query($sql);
|
||||
set_config('num_posts', $config['num_posts'] + 1);
|
||||
}
|
||||
|
||||
// Topic notification
|
||||
|
Reference in New Issue
Block a user