mirror of
https://github.com/friendica/friendica
synced 2024-12-25 02:00:17 +00:00
Merge pull request #6824 from MrPetovan/bug/warnings
Check $profile variable in mod/match
This commit is contained in:
commit
02be8a086e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue