From 5ff296f83be87a0cc5607fd352d62321819b0e03 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Wed, 6 Aug 2025 10:19:23 +0300 Subject: [PATCH] chore: Some minor improvements (#2076) --- library/ajax/posts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ajax/posts.php b/library/ajax/posts.php index e34b8b2c1..694177522 100644 --- a/library/ajax/posts.php +++ b/library/ajax/posts.php @@ -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);