mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-24 07:05:47 -07:00
Update posting.php
This commit is contained in:
parent
290e987d92
commit
197a725ca2
1 changed files with 3 additions and 1 deletions
|
@ -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']);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue