Adding check for post visibility being 0 or more to fix #819.
Merge branch 'feature' of https://github.com/mybb/mybb into featurefix-819
Merge branch 'feature' of https://github.com/mybb/mybb into featurefix-819
Merge branch 'feature' of https://github.com/mybb/mybb into featurefix-819
Changing SQL to allow soft deleted posts to show.
Merge pull request #827 from euantorano/featurefix-819

Adding check for post visibility being 0 or more to fix #819.