Fix wrong value for parameter
This commit is contained in:
parent
4e5a3ab0f1
commit
603b1f965d
|
@ -2017,7 +2017,7 @@ class OStatus
|
||||||
$mentioned = $newmentions;
|
$mentioned = $newmentions;
|
||||||
|
|
||||||
foreach ($mentioned as $mention) {
|
foreach ($mentioned as $mention) {
|
||||||
$contact = Contact::getByURL($mention, ['contact-type']);
|
$contact = Contact::getByURL($mention, false, ['contact-type']);
|
||||||
if (!empty($contact) && ($contact['contact-type'] == Contact::TYPE_COMMUNITY)) {
|
if (!empty($contact) && ($contact['contact-type'] == Contact::TYPE_COMMUNITY)) {
|
||||||
XML::addElement($doc, $entry, "link", "",
|
XML::addElement($doc, $entry, "link", "",
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in a new issue