diff --git a/profile.php b/profile.php index 34123230..1d595b1a 100644 --- a/profile.php +++ b/profile.php @@ -2909,19 +2909,20 @@ function extract_elements($allowed_elements) if ($cur_forum['cid'] != $cur_category) // A new category since last iteration? { if ($cur_category) - echo "\n\t\t\t\t\t".''."\n"; + echo "\n\t\t\t\t\t\t".''."\n"; - echo "\t\t\t\t\t".'
'."\n\t\t\t\t\t\t".''.$cur_forum['cat_name'].':'."\n"; + echo "\t\t\t\t\t\t".'
'."\n\t\t\t\t\t\t\t".''.$cur_forum['cat_name'].':'."\n"; $cur_category = $cur_forum['cid']; } $moderators = ($cur_forum['moderators'] != '') ? unserialize($cur_forum['moderators']) : array(); - echo "\t\t\t\t\t\t".'
'."\n"; + echo "\t\t\t\t\t\t\t".'
'."\n"; } + if ($cur_category) + echo "\t\t\t\t\t\t".'
'."\n"; ?> -