mirror of
https://github.com/friendica/friendica
synced 2025-04-24 11:10:18 +00:00
Merge remote-tracking branch 'upstream/develop' into server-detection
This commit is contained in:
commit
46fdd9893c
11 changed files with 49 additions and 47 deletions
|
@ -1169,11 +1169,11 @@ class Contact
|
|||
* @throws HTTPException\InternalServerErrorException
|
||||
* @throws \ImagickException
|
||||
*/
|
||||
public static function getIdForURL(string $url, int $uid = 0, $update = null, array $default = []): int
|
||||
public static function getIdForURL(string $url = null, int $uid = 0, $update = null, array $default = []): int
|
||||
{
|
||||
$contact_id = 0;
|
||||
|
||||
if ($url == '') {
|
||||
if (empty($url)) {
|
||||
Logger::notice('Empty url, quitting', ['url' => $url, 'user' => $uid, 'default' => $default]);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue