mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-27 02:05:02 +02:00
- fixes for the following bugs:
#5326 #5318 #5304 #5290 #5288 #5278 #5276 #5272 #5266 - also fixed the "Call-time pass-by-reference" bug #5252 - within this step changed the normalize calls to require references. - added captcha size variables to the class scope (suggestion was posted at area51) git-svn-id: file:///svn/phpbb/trunk@6584 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -615,8 +615,8 @@ class acp_forums
|
||||
$forum_data = $this->get_forum_info($forum_id);
|
||||
|
||||
$subforums_id = array();
|
||||
|
||||
$subforums = get_forum_branch($forum_id, 'children');
|
||||
|
||||
foreach ($subforums as $row)
|
||||
{
|
||||
$subforums_id[] = $row['forum_id'];
|
||||
@@ -647,6 +647,7 @@ class acp_forums
|
||||
|
||||
'FORUM_NAME' => $forum_data['forum_name'],
|
||||
'S_FORUM_POST' => ($forum_data['forum_type'] == FORUM_POST) ? true : false,
|
||||
'S_FORUM_LINK' => ($forum_data['forum_type'] == FORUM_LINK) ? true : false,
|
||||
'S_HAS_SUBFORUMS' => ($forum_data['right_id'] - $forum_data['left_id'] > 1) ? true : false,
|
||||
'S_FORUMS_LIST' => $forums_list,
|
||||
'S_ERROR' => (sizeof($errors)) ? true : false,
|
||||
|
Reference in New Issue
Block a user