From c309a5ed8f995c3f713c70d81ab23077f41b0549 Mon Sep 17 00:00:00 2001 From: ashcs Date: Tue, 20 Aug 2013 22:32:56 +0700 Subject: [PATCH] fix typos described on http://punbb.ru/post40144.html#p40144 --- profile.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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"; ?> -