BAD BUG!
This commit is contained in:
@@ -71,7 +71,7 @@ router.get("/post/:post_index", (req, res) => {
|
|||||||
if (config.enable_hitcount) {
|
if (config.enable_hitcount) {
|
||||||
data.increment_hitcount(postID)
|
data.increment_hitcount(postID)
|
||||||
}
|
}
|
||||||
else if (typeof post["deleted"] == "undefined" || post["deleted"] == false) {
|
if (typeof post["deleted"] == "undefined" || post["deleted"] == false) {
|
||||||
res.render("pages/post",
|
res.render("pages/post",
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
|
|||||||
Reference in New Issue
Block a user