1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 18:26:32 +02:00

[feature/php-events] Readd comment from d06adb06e9

PHPBB3-9550
This commit is contained in:
Joas Schilling
2012-08-11 11:49:48 +02:00
parent c362434890
commit 06c8e19af3

View File

@@ -887,5 +887,7 @@ function check_ids(&$ids, $table, $sql_id, $acl_list = false, $single_forum = fa
return false;
}
// If forum id is false and ids populated we may have only global announcements selected (returning 0 because of (int) $forum_id)
return ($single_forum === false) ? true : (int) $forum_id;
}