diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2012-10-09 22:24:06 +0200 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2012-10-09 22:24:06 +0200 |
| commit | e4c9e55b53923baedfc9318eb589a914a4ffccef (patch) | |
| tree | ba5309b4221953c9fdb27bc7fe6d3ef0570d756d /phpBB/includes/mcp/mcp_ban.php | |
| parent | 70fa983fa804c2a826a51af1c31ffc663cde48b3 (diff) | |
| download | forums-e4c9e55b53923baedfc9318eb589a914a4ffccef.tar forums-e4c9e55b53923baedfc9318eb589a914a4ffccef.tar.gz forums-e4c9e55b53923baedfc9318eb589a914a4ffccef.tar.bz2 forums-e4c9e55b53923baedfc9318eb589a914a4ffccef.tar.xz forums-e4c9e55b53923baedfc9318eb589a914a4ffccef.zip | |
[feature/soft-delete] Fix several issues within submit_post()
- $post_visibility is not boolean, so we need to check for == ITEM_APPROVED
- sync() already updates the topic/forum info, so we don't need to do that again
- use set_post_visibility() when changing the posts visibility
Should be ready for testing.
PHPBB3-9567
Diffstat (limited to 'phpBB/includes/mcp/mcp_ban.php')
0 files changed, 0 insertions, 0 deletions
