From 09268e75c807b17b042f85977b2c3cac4ef884b2 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Fri, 7 Oct 2011 00:00:13 +1100 Subject: theme error handling --- templates/themes/categories/theme.php | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) (limited to 'templates/themes/categories/theme.php') diff --git a/templates/themes/categories/theme.php b/templates/themes/categories/theme.php index de1b4a5b..d48c150a 100644 --- a/templates/themes/categories/theme.php +++ b/templates/themes/categories/theme.php @@ -121,27 +121,31 @@ '
  • [Remove Frames]
  • ' . ''; - for($cat = 0; $cat < count($config['categories']); $cat++) { - $body .= '
    ' . $config['categories'][$cat] . '
    '; + } } - foreach($config['custom_categories'] as $name => &$group) { - $body .= '
    ' . $name . '
    '; + } } // Finish page -- cgit v1.3