/admin/all-forum-categories.php |
---|
26,7 → 26,7 |
$cat = $page->getForumCategory($ids[$i]); |
write('<tr>'); |
write('<td><a href="index.php?parentID=' . $cat->ID . '">' . $cat->ID . '</a></td>'); |
if ($cat->parent == -1) |
if (!$cat->parent) |
{ |
write('<td style="color: #444444;">No Parent</td>'); |
} |
/_taios.php |
---|
405,7 → 405,7 |
$f = new ForumCategory; |
$f->ID = $row['ID']; |
$f->parentID = $row['ParentID']; |
$f->parent = $this->getForumCategory($row['ParentID']); |
$f->title = $row['Title']; |
$f->description = $row['Description']; |
511,7 → 511,7 |
class ForumCategory |
{ |
public $ID; |
public $parentID; |
public $parent; |
public $title; |
public $description; |
} |