mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update admin_attach_cp.php
This commit is contained in:
parent
ef5215d3ea
commit
df655408e6
@ -494,12 +494,7 @@ if ($view == 'attachments')
|
||||
|
||||
$row = DB()->sql_fetchrow($result);
|
||||
DB()->sql_freeresult($result);
|
||||
$post_title = $row['topic_title'];
|
||||
|
||||
if (strlen($post_title) > 32)
|
||||
{
|
||||
$post_title = str_short($post_title, 30);
|
||||
}
|
||||
$post_title = str_short($row['topic_title'], 30);
|
||||
|
||||
$view_topic = BB_ROOT . POST_URL . $ids[$j]['post_id'] . '#' . $ids[$j]['post_id'];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user