Less confusing redirects when posting to the noticeboard
This commit is contained in:
1 parent
51cdaaccd1
commit
1a90eaf6ce
1 file changed
+1
-1
@@ -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'])) {
|
||||
|
||||
Reference in new issue
Block a user