sforkowany z mirror/friendica
Merge pull request #6824 from MrPetovan/bug/warnings
Check $profile variable in mod/match2022.09-rc
commit
02be8a086e
|
@ -75,7 +75,7 @@ function match_content(App $a)
|
|||
$profile = $msearch->results[$i];
|
||||
|
||||
// Already known contact
|
||||
if (Contact::getIdForURL($profile->url, local_user(), true)) {
|
||||
if (!$profile || Contact::getIdForURL($profile->url, local_user(), true)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue