[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; 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; return ($single_forum === false) ? true : (int) $forum_id;
} }