Don't assume $a->contact is populated in Object\Post::getCommentBox
- Address https://github.com/friendica/friendica/issues/10167#issuecomment-837238584 - This might reveal some side-effect
This commit is contained in:
parent
48ac619599
commit
10e5630988
1 changed files with 2 additions and 2 deletions
|
@ -950,9 +950,9 @@ class Post
|
|||
'$qcomment' => $qcomment,
|
||||
'$default' => $default_text,
|
||||
'$profile_uid' => $uid,
|
||||
'$mylink' => DI::baseUrl()->remove($a->contact['url']),
|
||||
'$mylink' => DI::baseUrl()->remove($a->contact['url'] ?? ''),
|
||||
'$mytitle' => DI::l10n()->t('This is you'),
|
||||
'$myphoto' => DI::baseUrl()->remove($a->contact['thumb']),
|
||||
'$myphoto' => DI::baseUrl()->remove($a->contact['thumb'] ?? ''),
|
||||
'$comment' => DI::l10n()->t('Comment'),
|
||||
'$submit' => DI::l10n()->t('Submit'),
|
||||
'$loading' => DI::l10n()->t('Loading...'),
|
||||
|
|
Loading…
Reference in a new issue