chore: Some minor improvements

This commit is contained in:
Roman Kelesidis 2025-08-06 10:18:45 +03:00
commit 35680ac963
No known key found for this signature in database
GPG key ID: D8157C4D4C4C6DB4

View file

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