mirror of
https://github.com/friendica/friendica
synced 2025-04-27 12:30:11 +00:00
Fix wrong error message when updated a contact
This commit is contained in:
parent
8adf0e6e5c
commit
a4dffee5f4
2 changed files with 48 additions and 47 deletions
|
@ -1782,7 +1782,7 @@ class Contact extends BaseObject
|
|||
* @param array $contact
|
||||
* @return boolean
|
||||
*/
|
||||
private static function isLegacyDFRNContact($contact)
|
||||
public static function isLegacyDFRNContact($contact)
|
||||
{
|
||||
// Newer Friendica contacts are connected via AP, then these fields aren't set
|
||||
return !empty($contact['dfrn-id']) || !empty($contact['issued-id']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue