mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
Add null/empty string parameter value case in BBCode::convert
- Remove obsolete coalesce operator uses
This commit is contained in:
parent
0c1e876ee0
commit
89b3ae2657
6 changed files with 11 additions and 6 deletions
|
@ -465,7 +465,7 @@ function notification($params)
|
|||
if ($show_in_notification_page) {
|
||||
$notification = DI::notify()->insert([
|
||||
'name' => $params['source_name'] ?? '',
|
||||
'name_cache' => substr(strip_tags(BBCode::convert($params['source_name'] ?? '')), 0, 255),
|
||||
'name_cache' => substr(strip_tags(BBCode::convert($params['source_name'])), 0, 255),
|
||||
'url' => $params['source_link'] ?? '',
|
||||
'photo' => $params['source_photo'] ?? '',
|
||||
'link' => $itemlink ?? '',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue