Skip to content

Commit c9bb2d9

Browse files
committed
Merge pull request #16 from PIC-Nico/master
Changed the limited size for an entry in "last entrys" (Pastebin goes responsive...)
2 parents 384c6cc + 9fd2b1b commit c9bb2d9

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
@@ -173,7 +173,7 @@ private function display_pb()
173173
'URL' => $this->helper->route('phpbbde_pastebin_main_controller', array('mode'=>'view', 's' => $row['snippet_id'])),
174174
'DESC' => $row['snippet_desc'],
175175
'TITLE' => $row['snippet_title'],
176-
'TITLE_SHORT' => (utf8_strlen($row['snippet_title']) > 12) ? utf8_substr($row['snippet_title'], 0, 12) . '...' : $row['snippet_title'],
176+
'TITLE_SHORT' => (utf8_strlen($row['snippet_title']) > 50) ? utf8_substr($row['snippet_title'], 0, 50) . '...' : $row['snippet_title'],
177177
'AUTHOR_FULL' => get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']),
178178
));
179179
}

0 commit comments

Comments
 (0)