mirror of
https://github.com/friendica/friendica
synced 2025-05-10 00:24:09 +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
|
@ -70,7 +70,7 @@ class Notify extends BaseModel
|
|||
private function setNameCache()
|
||||
{
|
||||
try {
|
||||
$this->name_cache = strip_tags(BBCode::convert($this->source_name ?? ''));
|
||||
$this->name_cache = strip_tags(BBCode::convert($this->source_name));
|
||||
} catch (InternalServerErrorException $e) {
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue