mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 15:27:42 +02:00
[ticket/10223] The search fid parameter is an array of forums not just an id
PHPBB3-10223
This commit is contained in:
@@ -267,7 +267,7 @@ $post_alt = ($forum_data['forum_status'] == ITEM_LOCKED) ? $user->lang['FORUM_LO
|
|||||||
// Display active topics?
|
// Display active topics?
|
||||||
$s_display_active = ($forum_data['forum_type'] == FORUM_CAT && ($forum_data['forum_flags'] & FORUM_FLAG_ACTIVE_TOPICS)) ? true : false;
|
$s_display_active = ($forum_data['forum_type'] == FORUM_CAT && ($forum_data['forum_flags'] & FORUM_FLAG_ACTIVE_TOPICS)) ? true : false;
|
||||||
|
|
||||||
$s_search_hidden_fields = array('fid' => $forum_id);
|
$s_search_hidden_fields = array('fid' => array($forum_id));
|
||||||
if ($_SID)
|
if ($_SID)
|
||||||
{
|
{
|
||||||
$s_search_hidden_fields['sid'] = $_SID;
|
$s_search_hidden_fields['sid'] = $_SID;
|
||||||
|
Reference in New Issue
Block a user