mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 19:24:28 +02:00
Fix errors in Content namespace
This commit is contained in:
parent
3c84c21318
commit
caa826ca06
8 changed files with 28 additions and 16 deletions
|
@ -180,6 +180,7 @@ class Item
|
|||
public static function replaceTag(string &$body, int $profile_uid, string $tag, string $network = '')
|
||||
{
|
||||
$replaced = false;
|
||||
$contact = [];
|
||||
|
||||
//is it a person tag?
|
||||
if (Tag::isType($tag, Tag::MENTION, Tag::IMPLICIT_MENTION, Tag::EXCLUSIVE_MENTION)) {
|
||||
|
@ -247,6 +248,8 @@ class Item
|
|||
}
|
||||
}
|
||||
|
||||
$newname = '';
|
||||
|
||||
// Check if $contact has been successfully loaded
|
||||
if (DBA::isResult($contact)) {
|
||||
$profile = $contact['url'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue