1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-28 04:20:32 +02:00

Fixing the following bugs:

#8444 (language dependent buttons no longer include the dimensions to allow bigger/smaller translated images)
#8414
#8396
#8388
#8216

thanks to bartvb and kellanved for providing possible fixes...


git-svn-id: file:///svn/phpbb/trunk@7114 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2007-03-03 17:41:21 +00:00
parent b231c4234c
commit c93a40ed0c
15 changed files with 74 additions and 67 deletions

View File

@@ -508,14 +508,7 @@ function delete_topics($where_type, $where_ids, $auto_sync = true, $post_count_s
}
else
{
if (is_array($where_ids))
{
$where_ids = array_unique($where_ids);
}
else
{
$where_ids = array($where_ids);
}
$where_ids = (is_array($where_ids)) ? array_unique($where_ids) : array($where_ids);
if (!sizeof($where_ids))
{
@@ -735,7 +728,7 @@ function delete_posts($where_type, $where_ids, $auto_sync = true, $posted_sync =
// We actually remove topics now to not be inconsistent (the delete_topics function calls this function too)
if (sizeof($remove_topics))
{
delete_topics('topic_id', $remove_topics);
delete_topics('topic_id', $remove_topics, $auto_sync, $post_count_sync);
}
return sizeof($post_ids);