/forums/index.php |
---|
12,6 → 12,11 |
$parentID = -1; |
} |
if ($page->isUserAdmin($page->getLoggedInUser())) |
{ |
write('<p class="bold"><a href="add-category.php?parentID=' . $parentID . '">Add Category</a></p><br />'); |
} |
$ids = $page->findIDs('ForumCategories', 'WHERE ParentID = ' . $parentID . ' ORDER BY Title ASC'); |
if (count($ids) >= 1) |