Minor improvements (#959)

This commit is contained in:
Roman Kelesidis 2023-10-06 18:41:04 +07:00 committed by GitHub
commit ced2cc6fed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View file

@ -213,7 +213,7 @@ switch ($this->request['type']) {
case 'add':
if (!isset($this->request['topic_id'])) {
$this->ajax_die('empty topic_id');
$this->ajax_die($lang['INVALID_TOPIC_ID']);
}
if (bf($userdata['user_opt'], 'user_opt', 'dis_post')) {