summaryrefslogtreecommitdiff
path: root/create_thread.php
diff options
context:
space:
mode:
authorcflip <36554078+cflip@users.noreply.github.com>2021-04-25 17:47:41 -0600
committercflip <36554078+cflip@users.noreply.github.com>2021-04-25 17:47:41 -0600
commitdf9177492976ba968a556a52cc155477652089dc (patch)
tree0d418e435b5d39325180b201d0dfd4868be42df0 /create_thread.php
parent2d5cf9448edb1eb6785c1532ccb031b0ba0d1ef0 (diff)
Reload page after submitting a reply to a thread
Diffstat (limited to 'create_thread.php')
-rw-r--r--create_thread.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/create_thread.php b/create_thread.php
index 2ed323d..6fb7df9 100644
--- a/create_thread.php
+++ b/create_thread.php
@@ -56,7 +56,6 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') {
$thread_id = create_thread($thread_subject, $thread_cat);
create_post($post_content, $thread_id, $thread_cat);
-
header("Location: viewthread.php?id=" . $thread_id);
}
}