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
|
@ -67,7 +67,7 @@ function videos_init(App $a)
|
|||
'$photo' => $profile['photo'],
|
||||
'$addr' => $profile['addr'] ?? '',
|
||||
'$account_type' => $account_type,
|
||||
'$about' => BBCode::convert($profile['about'] ?? ''),
|
||||
'$about' => BBCode::convert($profile['about']),
|
||||
]);
|
||||
|
||||
// If not there, create 'aside' empty
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue