Skip to content

Commit 391b1a7

Browse files
committed
2 parents 78b7280 + c9bb2d9 commit 391b1a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

controller/main.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ private function display_pb()
213213
'URL' => $this->helper->route('phpbbde_pastebin_main_controller', array('mode'=>'view', 's' => $row['snippet_id'])),
214214
'DESC' => $row['snippet_desc'],
215215
'TITLE' => $row['snippet_title'],
216-
'TITLE_SHORT' => (utf8_strlen($row['snippet_title']) > 12) ? utf8_substr($row['snippet_title'], 0, 12) . '...' : $row['snippet_title'],
216+
'TITLE_SHORT' => (utf8_strlen($row['snippet_title']) > 50) ? utf8_substr($row['snippet_title'], 0, 50) . '...' : $row['snippet_title'],
217217
'AUTHOR_FULL' => get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']),
218218
));
219219
}

0 commit comments

Comments
 (0)