Update admin_attach_cp.php

This commit is contained in:
Roman Kelesidis 2025-01-08 15:39:06 +07:00
parent ef5215d3ea
commit df655408e6

View File

@ -494,12 +494,7 @@ if ($view == 'attachments')
$row = DB()->sql_fetchrow($result); $row = DB()->sql_fetchrow($result);
DB()->sql_freeresult($result); DB()->sql_freeresult($result);
$post_title = $row['topic_title']; $post_title = str_short($row['topic_title'], 30);
if (strlen($post_title) > 32)
{
$post_title = str_short($post_title, 30);
}
$view_topic = BB_ROOT . POST_URL . $ids[$j]['post_id'] . '#' . $ids[$j]['post_id']; $view_topic = BB_ROOT . POST_URL . $ids[$j]['post_id'] . '#' . $ids[$j]['post_id'];