Avoid notices because of empty fields

This commit is contained in:
Michael 2021-05-25 13:11:23 +00:00
parent 4d4544ada3
commit 09f29cd577

View File

@ -361,7 +361,7 @@ class APContact
Logger::info('Updated profile', ['url' => $url]);
return $apcontact;
return DBA::selectFirst('apcontact', [], ['url' => $apcontact['url']]) ?: [];
}
/**