fixed conditional in posts.js
Merge branch 'master' of https://github.com/designcreateplay/NodeBB