diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-11-23 16:17:20 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-11-23 16:17:20 +1100 |
| commit | 1a90eaf6ce32b1da85a21ef0bc8143986859327d (patch) | |
| tree | 4bb9d7101ce8dcfc9fb0193cdf7dcb17dd5d6389 /mod.php | |
| parent | 51cdaaccd1489e7f62d90058d12aa6bceafb2d3f (diff) | |
Less confusing redirects when posting to the noticeboard
Diffstat (limited to 'mod.php')
| -rw-r--r-- | mod.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'])) { |
