mirror of
https://github.com/friendica/friendica
synced 2025-04-28 03:10:11 +00:00
Changed default value
This commit is contained in:
parent
e374aecc46
commit
6d3949d54a
10 changed files with 12 additions and 12 deletions
|
@ -238,7 +238,7 @@ class Contact
|
|||
* @param boolean $update true = always update, false = never update, null = update when not found or outdated
|
||||
* @return array contact array
|
||||
*/
|
||||
public static function getByURLForUser(string $url, int $uid = 0, $update = null, array $fields = [])
|
||||
public static function getByURLForUser(string $url, int $uid = 0, $update = false, array $fields = [])
|
||||
{
|
||||
if ($uid != 0) {
|
||||
$contact = self::getByURL($url, $update, $fields, $uid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue