diff options
Diffstat (limited to 'viewthread.php')
-rw-r--r-- | viewthread.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/viewthread.php b/viewthread.php index 812db0a..e8eda06 100644 --- a/viewthread.php +++ b/viewthread.php @@ -90,6 +90,7 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') { echo 'Thread subject cannot be empty'; } else { create_post($post_content, $current->id, $current->category->id); + header('Location: ' . $_SERVER['PHP_SELF'] . '?id=' . $current->id); } } ?> |