Issue 8254 More length shortenings

This commit is contained in:
Michael 2020-03-25 23:18:07 +00:00
parent 85b0b676c1
commit 6f22e3909b
3 changed files with 3 additions and 3 deletions

View file

@ -453,7 +453,7 @@ function notification($params)
if ($show_in_notification_page) {
$notification = DI::notify()->insert([
'name' => $params['source_name'] ?? '',
'name_cache' => strip_tags(BBCode::convert($params['source_name'] ?? '')),
'name_cache' => substr(strip_tags(BBCode::convert($params['source_name'] ?? '')), 0, 255),
'url' => $params['source_link'] ?? '',
'photo' => $params['source_photo'] ?? '',
'link' => $itemlink ?? '',