mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
More fixes and updates
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3091 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -452,8 +452,7 @@ function update_post_stats(&$mode, &$post_data, &$forum_id, &$topic_id, &$post_i
|
||||
{
|
||||
$sql = "UPDATE " . TOPICS_TABLE . " SET
|
||||
$topic_update_sql
|
||||
WHERE topic_id = $topic_id
|
||||
OR topic_moved_id = $topic_id";
|
||||
WHERE topic_id = $topic_id";
|
||||
if ( !$db->sql_query($sql) )
|
||||
{
|
||||
message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql);
|
||||
|
@@ -101,7 +101,7 @@ if (
|
||||
{
|
||||
if ( !empty($HTTP_POST_VARS[$param]) )
|
||||
{
|
||||
$$var = trim(htmlspecialchars(strip_tags($HTTP_POST_VARS[$param])));
|
||||
$$var = trim(htmlspecialchars($HTTP_POST_VARS[$param]));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user