Avoid notices because of empty fields
This commit is contained in:
@@ -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']]) ?: [];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user