From 197a725ca25476a9e5a606043e1e86b096e3c128 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sun, 18 Aug 2024 21:03:54 +0700 Subject: [PATCH] Update posting.php --- posting.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/posting.php b/posting.php index 194d1816d..dd4273aca 100644 --- a/posting.php +++ b/posting.php @@ -253,7 +253,9 @@ if (!empty($bb_cfg['tor_cannot_edit']) && $post_info['allow_reg_tracker'] && $po $anonymous_mode = $post_info['post_anonymous_mode'] ?? (bool)bf($userdata['user_opt'], 'user_opt', 'user_anonymous'); $robots_indexing = $post_info['topic_allow_robots'] ?? true; if ($submit || $refresh) { - $anonymous_mode = !empty($_POST['anonymous']); + if (!IS_GUEST) { + $anonymous_mode = !empty($_POST['anonymous']); + } if (IS_AM) { $robots_indexing = !empty($_POST['robots']); }