Skip to content

Commit

Permalink
Commit forgotten change
Browse files Browse the repository at this point in the history
  • Loading branch information
trustmaster committed Aug 1, 2012
1 parent c58c6c0 commit 53f4460
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/forums/inc/forums.sections.php
Expand Up @@ -139,7 +139,7 @@
$yy = 0;
foreach ($nxtlvl[$x] as $y)
{
if (is_array($nxtlvl[$y]) && $cfg['forums'][$y]['defstate'])
if (is_array($nxtlvl[$y]) && $cfg['forums']['cat_' . $y]['defstate'])
{
$zz = 0;
foreach ($nxtlvl[$y] as $z)
Expand Down Expand Up @@ -172,7 +172,7 @@

}
$t->assign(array(
'FORUMS_SECTIONS_ROW_SUBITEMS' => (is_array($nxtlvl[$y]) && $cfg['forums'][$y]['defstate']) ? 1 : 0,
'FORUMS_SECTIONS_ROW_SUBITEMS' => (is_array($nxtlvl[$y]) && $cfg['forums']['cat_' . $y]['defstate']) ? 1 : 0,
'FORUMS_SECTIONS_ROW_ACTIVITY' => cot_rc('forums_icon_section_activity', array('secact_num'=>$secact_num)),
'FORUMS_SECTIONS_ROW_ACTIVITYVALUE' => $secact_num,
'FORUMS_SECTIONS_ROW_VIEWERS' => $cot_sections_vw_cur,
Expand All @@ -190,7 +190,7 @@
}
$xx++;

$fold = !$cfg['forums'][$x]['defstate'];
$fold = !$cfg['forums']['cat_' . $x]['defstate'];
if($c)
{
$fold = (int)($c=='fold' ? true : ($c=='unfold' ? false : ($c==$x ? false : true)));
Expand Down

0 comments on commit 53f4460

Please sign in to comment.