mirror of
https://github.com/friendica/friendica
synced 2024-06-10 15:55:12 +02:00
Avoid notices because of empty fields
This commit is contained in:
parent
4d4544ada3
commit
09f29cd577
|
@ -361,7 +361,7 @@ class APContact
|
||||||
|
|
||||||
Logger::info('Updated profile', ['url' => $url]);
|
Logger::info('Updated profile', ['url' => $url]);
|
||||||
|
|
||||||
return $apcontact;
|
return DBA::selectFirst('apcontact', [], ['url' => $apcontact['url']]) ?: [];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue