mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
parent
c362434890
commit
06c8e19af3
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue