/forums/add-category-do.php |
---|
24,7 → 24,7 |
$page->redirect('add-category.php?error=No Title Specified'); |
} |
$page->query('INSERT INTO ForumCategories (0, ' . $parentID . ', "' . $title . '", "' . $description . '")'); |
$page->query('INSERT INTO ForumCategories VALUES (0, ' . $parentID . ', "' . $title . '", "' . $description . '")'); |
$page->redirect('index.php?parentID=' . $parentID); |
} |
else |