From e2440618ecf004a5de57ac8a67a36e0c847a73a8 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sat, 31 May 2025 10:09:53 +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 1b6d7c046..782123914 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 ($is_first_post || ($start && $i == 0)) { + if ($is_first_post || ($start && $i == 0) || ($post_order == 'desc' && $i == 0)) { $page_cfg['meta_description'] = str_short(str_replace("\n", ' ', strip_tags(br2nl($message))), 220); }