summaryrefslogtreecommitdiff
path: root/includes/reply_inc.php
diff options
context:
space:
mode:
authorCflip <36554078+cflip@users.noreply.github.com>2021-01-23 12:25:51 -0700
committerCflip <36554078+cflip@users.noreply.github.com>2021-01-23 12:26:18 -0700
commit279d399461e6a66157bb2f0bc8209bf0fcb36c9c (patch)
tree779492cc411d6c9171d57cdecf7a43f39e2ca512 /includes/reply_inc.php
parent0b26a9cd485d5b1ed509d9da998780d8b658eb8a (diff)
Change terminology from topics to threads
Diffstat (limited to 'includes/reply_inc.php')
-rw-r--r--includes/reply_inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/reply_inc.php b/includes/reply_inc.php
index 480c651..d20c4ed 100644
--- a/includes/reply_inc.php
+++ b/includes/reply_inc.php
@@ -10,10 +10,10 @@ if ($_SERVER['REQUEST_METHOD'] != 'POST') {
}
if (!isset($_SESSION['signed_in'])) {
- die('You must be signed in to reply to a topic.');
+ die('You must be signed in to reply to a thread.');
}
-$sql = "INSERT INTO posts(post_content, post_date, post_topic, post_author) VALUES(?, NOW(), ?, ?)";
+$sql = "INSERT INTO posts(post_content, post_date, post_thread, post_author) VALUES(?, NOW(), ?, ?)";
$stmt = mysqli_stmt_init($dbc);
if (!mysqli_stmt_prepare($stmt, $sql)) {
@@ -24,4 +24,4 @@ mysqli_stmt_bind_param($stmt, "sii", $_POST['reply_content'], $_GET['reply_to'],
mysqli_stmt_execute($stmt);
mysqli_stmt_close($stmt);
-header("Location: ../topic.php?id=" . $_GET['reply_to']); \ No newline at end of file
+header("Location: ../thread.php?id=" . $_GET['reply_to']); \ No newline at end of file