Update posting.php

This commit is contained in:
Roman Kelesidis 2023-12-30 14:38:24 +07:00
parent 0c47bfe96f
commit 6a6f9f9609

View File

@ -272,7 +272,7 @@ if ($mode == 'new_rel')
}
// Запрет на редактирование релиза с определенным статусом ($bb_cfg['tor_cannot_edit'])
if ($mode == 'edit')
if ($mode == 'editpost')
{
if (!empty($bb_cfg['tor_cannot_edit']) && $post_info['allow_reg_tracker'] && $post_data['first_post'] && !IS_AM)
{