diff options
author | Yorhel <git@yorhel.nl> | 2019-10-04 07:21:15 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-10-04 07:21:17 +0200 |
commit | d77e004013c5899c7de58b3446f2383cebe34614 (patch) | |
tree | b8b43f632644a8d5fa6b14a64a2051d44ba291f5 | |
parent | 5ab9f4c5a7008cf832330fdbc7d5337d768dc8ee (diff) |
VNDB::DB::Discussions: Don't count private threads in the discussions tab number
-rw-r--r-- | lib/VNDB/DB/Discussions.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/DB/Discussions.pm b/lib/VNDB/DB/Discussions.pm index 0e7f0623..6139b83b 100644 --- a/lib/VNDB/DB/Discussions.pm +++ b/lib/VNDB/DB/Discussions.pm @@ -202,7 +202,7 @@ sub dbThreadCount { FROM threads_boards tb JOIN threads t ON t.id = tb.tid WHERE tb.type = ? AND tb.iid = ? - AND t.hidden = FALSE|, + AND t.hidden = FALSE AND t.private = FALSE|, $type, $iid)->{cnt}; } |