From 1a90eaf6ce32b1da85a21ef0bc8143986859327d Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Wed, 23 Nov 2011 16:17:20 +1100 Subject: [PATCH] Less confusing redirects when posting to the noticeboard --- mod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod.php b/mod.php index 4a06dba4..6edd0289 100644 --- a/mod.php +++ b/mod.php @@ -558,7 +558,7 @@ $query->bindValue(':body', $_POST['body']); $query->execute() or error(db_error($query)); - header('Location: ?/noticeboard', true, $config['redirect_http']); + header('Location: ?/noticeboard#' . $pdo->lastInsertId(), true, $config['redirect_http']); } else { if(hasPermission($config['mod']['noticeboard_post'])) {