summaryrefslogtreecommitdiff
path: root/create_thread.php
diff options
context:
space:
mode:
Diffstat (limited to 'create_thread.php')
-rw-r--r--create_thread.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/create_thread.php b/create_thread.php
index 534b0ab..2ed323d 100644
--- a/create_thread.php
+++ b/create_thread.php
@@ -20,10 +20,10 @@ if (!Session::get()->is_signed_in()) {
<input type="text" name="thread_subject"><br>
<label for="thread_cat">Category: </label><br>
<?php
- include_once './includes/db_inc.php';
+ include_once './includes/functions_category.php';
include_once './includes/model/Category.php';
- $categories = get_all_categories($dbc);
+ $categories = get_all_categories();
if (count($categories) == 0) {
echo 'There are no categories to post to!';