From d7bb435797709c0a3e74e7227795cf0ea6491e76 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sat, 31 May 2025 10:02:51 +0300 Subject: [PATCH] Update viewtopic.php --- viewtopic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/viewtopic.php b/viewtopic.php index ab4e34e6e..1b6d7c046 100644 --- a/viewtopic.php +++ b/viewtopic.php @@ -672,7 +672,7 @@ for ($i = 0; $i < $total_posts; $i++) { $is_first_post = ($post_id == $t_data['topic_first_post_id']); // Set meta description - if ($i == 0) { + if ($is_first_post || ($start && $i == 0)) { $page_cfg['meta_description'] = str_short(str_replace("\n", ' ', strip_tags(br2nl($message))), 220); }