1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-06 15:45:34 +02:00

remove useless variable that caused some undefined errors

git-svn-id: file:///svn/phpbb/trunk@7518 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M 2007-05-09 18:43:16 +00:00
parent 08f9803457
commit 5a866d5249

View File

@ -131,8 +131,7 @@ function update_post_information($type, $ids, $return_update_sql = false)
FROM ' . POSTS_TABLE . " p $topic_join
WHERE " . $db->sql_in_set('p.' . $type . '_id', $ids) . "
$topic_condition
AND p.post_approved = 1
$min_post_id_sql";
AND p.post_approved = 1";
}
else
{
@ -141,7 +140,6 @@ function update_post_information($type, $ids, $return_update_sql = false)
WHERE " . $db->sql_in_set('p.' . $type . '_id', $ids) . "
$topic_condition
AND p.post_approved = 1
$min_post_id_sql
GROUP BY p.{$type}_id";
}
$result = $db->sql_query($sql);