Browse Source

Less confusing redirects when posting to the noticeboard

pull/40/head
Savetheinternet 13 years ago
parent
commit
1a90eaf6ce
  1. 2
      mod.php

2
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'])) {

Loading…
Cancel
Save