Minor fixes (#667)

This commit is contained in:
Roman Kelesidis 2023-03-30 01:05:50 +07:00 committed by GitHub
commit 0fd4b733fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -41,7 +41,7 @@ if (isset($this->request['post_id'])) {
AND f.forum_id = t.forum_id
LIMIT 1");
if (!$post) {
$this->ajax_die('not post');
$this->ajax_die($lang['INVALID_TOPIC_ID_DB']);
}
$is_auth = auth(AUTH_ALL, $post['forum_id'], $userdata, $post);