mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/10223] The search fid parameter is an array of forums not just an id
PHPBB3-10223
This commit is contained in:
parent
d3f1b60292
commit
d37e8dd6d3
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue