mirror of
https://github.com/friendica/friendica
synced 2025-04-27 11:10:12 +00:00
Fixes "Undefined property: Friendica\App::$queue"
This commit is contained in:
parent
44953f045e
commit
7703875b55
2 changed files with 3 additions and 1 deletions
|
@ -808,7 +808,7 @@ class Post extends BaseObject
|
|||
|
||||
foreach ($terms as $term) {
|
||||
$profile = Contact::getDetailsByURL($term['url']);
|
||||
if (($profile['contact-type'] != Contact::TYPE_COMMUNITY) &&
|
||||
if (!empty($profile['addr']) && !empty($profile['contact-type']) && ($profile['contact-type'] != Contact::TYPE_COMMUNITY) &&
|
||||
($profile['addr'] != $owner['addr']) && !strstr($text, $profile['addr'])) {
|
||||
$text .= '@' . $profile['addr'] . ' ';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue