mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-04 21:44:57 +02:00
git-svn-id: file:///svn/phpbb/trunk@7066 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
704174ccb8
commit
bf4b0e9ed4
@ -516,12 +516,13 @@ function delete_topics($where_type, $where_ids, $auto_sync = true, $post_count_s
|
|||||||
{
|
{
|
||||||
$where_ids = array($where_ids);
|
$where_ids = array($where_ids);
|
||||||
}
|
}
|
||||||
$where_clause = $db->sql_in_set($where_type, $where_ids);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!sizeof($where_ids))
|
if (!sizeof($where_ids))
|
||||||
{
|
{
|
||||||
return array('topics' => 0, 'posts' => 0);
|
return array('topics' => 0, 'posts' => 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
$where_clause = $db->sql_in_set($where_type, $where_ids);
|
||||||
}
|
}
|
||||||
|
|
||||||
$return = array(
|
$return = array(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user