summaryrefslogtreecommitdiff
path: root/lib/blog/post.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/blog/post.php')
-rw-r--r--lib/blog/post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/blog/post.php b/lib/blog/post.php
index 1f1525a..a17ba5b 100644
--- a/lib/blog/post.php
+++ b/lib/blog/post.php
@@ -28,7 +28,7 @@ if (isset($_POST['title']) && isset($_POST['text'])) {
}
sql("INSERT INTO blog_tags(post, tag) VALUES " . implode(',', $v));
}
- header("Location: drafts-blog");
+ header("Location: view-blog-$id");
die();
}
}