Update posting.php

This commit is contained in:
Roman Kelesidis 2024-08-18 21:10:56 +07:00
commit 6789fe6b80

View file

@ -250,7 +250,7 @@ if (!empty($bb_cfg['tor_cannot_edit']) && $post_info['allow_reg_tracker'] && $po
} }
// Notify, allow robots indexing and anonymous mode // Notify, allow robots indexing and anonymous mode
$anonymous_mode = $post_info['post_anonymous_mode'] ?? (bool)bf($userdata['user_opt'], 'user_opt', 'user_anonymous'); $anonymous_mode = $post_info['post_anonymous'] ?? (bool)bf($userdata['user_opt'], 'user_opt', 'user_anonymous');
$robots_indexing = $post_info['topic_allow_robots'] ?? true; $robots_indexing = $post_info['topic_allow_robots'] ?? true;
if ($submit || $refresh) { if ($submit || $refresh) {
if (!IS_GUEST) { if (!IS_GUEST) {