mirror of
https://github.com/friendica/friendica
synced 2024-11-18 22:23:42 +00:00
Fix SQL problem with "not null"
This commit is contained in:
parent
002963f198
commit
2df17fc0c0
1 changed files with 1 additions and 1 deletions
|
@ -924,7 +924,7 @@ class GContact
|
||||||
}
|
}
|
||||||
|
|
||||||
// These fields are having different names but the same content
|
// These fields are having different names but the same content
|
||||||
$gcontact['server_url'] = $contact['baseurl'];
|
$gcontact['server_url'] = defaults($contact, 'baseurl', ''); // "baseurl" can be null, "server_url" not
|
||||||
$gcontact['nsfw'] = $contact['sensitive'];
|
$gcontact['nsfw'] = $contact['sensitive'];
|
||||||
$gcontact['hide'] = $contact['unsearchable'];
|
$gcontact['hide'] = $contact['unsearchable'];
|
||||||
$gcontact['archived'] = $contact['archive'];
|
$gcontact['archived'] = $contact['archive'];
|
||||||
|
|
Loading…
Reference in a new issue