Avoid notices because of empty fields
This commit is contained in:
parent
4d4544ada3
commit
09f29cd577
1 changed files with 1 additions and 1 deletions
|
@ -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