more fixes

This commit is contained in:
Baris Soner Usakli
2013-07-02 19:46:58 -04:00
parent 5514768a3c
commit c1484afab7
8 changed files with 80 additions and 66 deletions

View File

@@ -23,7 +23,7 @@ marked.setOptions({
//todo: break early if one condition is true
function getThreadPrivileges(next) {
posts.get_tid_by_pid(pid, function(tid) {
posts.getPostField(pid, 'tid', function(tid) {
threadTools.privileges(tid, uid, function(privileges) {
next(null, privileges);
});