mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-07 16:15:22 +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:
parent
08f9803457
commit
5a866d5249
@ -131,8 +131,7 @@ function update_post_information($type, $ids, $return_update_sql = false)
|
|||||||
FROM ' . POSTS_TABLE . " p $topic_join
|
FROM ' . POSTS_TABLE . " p $topic_join
|
||||||
WHERE " . $db->sql_in_set('p.' . $type . '_id', $ids) . "
|
WHERE " . $db->sql_in_set('p.' . $type . '_id', $ids) . "
|
||||||
$topic_condition
|
$topic_condition
|
||||||
AND p.post_approved = 1
|
AND p.post_approved = 1";
|
||||||
$min_post_id_sql";
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -141,7 +140,6 @@ function update_post_information($type, $ids, $return_update_sql = false)
|
|||||||
WHERE " . $db->sql_in_set('p.' . $type . '_id', $ids) . "
|
WHERE " . $db->sql_in_set('p.' . $type . '_id', $ids) . "
|
||||||
$topic_condition
|
$topic_condition
|
||||||
AND p.post_approved = 1
|
AND p.post_approved = 1
|
||||||
$min_post_id_sql
|
|
||||||
GROUP BY p.{$type}_id";
|
GROUP BY p.{$type}_id";
|
||||||
}
|
}
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user