aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/content_visibility.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2012-10-05 12:37:01 +0200
committerJoas Schilling <nickvergessen@gmx.de>2012-10-05 12:39:05 +0200
commit63d11c976b0bcef68ce4809c8c76124451df88ea (patch)
treec7627d8ef061678054764354cdecc1094e1cd4fa /phpBB/includes/content_visibility.php
parent2a81e4b48ee223d8538e960b6e8e6e1c3e1277b2 (diff)
downloadforums-63d11c976b0bcef68ce4809c8c76124451df88ea.tar
forums-63d11c976b0bcef68ce4809c8c76124451df88ea.tar.gz
forums-63d11c976b0bcef68ce4809c8c76124451df88ea.tar.bz2
forums-63d11c976b0bcef68ce4809c8c76124451df88ea.tar.xz
forums-63d11c976b0bcef68ce4809c8c76124451df88ea.zip
[feature/soft-delete] Fix sync('topic') to match the new logic
This also fixes set_post_visibility() PHPBB3-9567
Diffstat (limited to 'phpBB/includes/content_visibility.php')
-rw-r--r--phpBB/includes/content_visibility.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/content_visibility.php b/phpBB/includes/content_visibility.php
index 112780224f..fbcdf27f08 100644
--- a/phpBB/includes/content_visibility.php
+++ b/phpBB/includes/content_visibility.php
@@ -212,7 +212,7 @@ class phpbb_content_visibility
update_post_information('forum', $forum_id, false);
}
}
- else if (($is_starter || $is_latest) && $topic_id)
+ else if ($is_starter && $topic_id)
{
// ... so we need to use sync, if the first post is changed.
// The forum is resynced recursive by sync() itself.