Fixed a possible NULL value (not valid, at least empty string)
This commit is contained in:
parent
f8ed028013
commit
95ac2aa54b
1 changed files with 1 additions and 1 deletions
|
@ -985,7 +985,7 @@ class DFRN
|
|||
Logger::notice('Unable to find contact details for ' . $contact['id'] . ' - ' . $contact['addr']);
|
||||
return -22;
|
||||
}
|
||||
$pubkey = $fcontact['pubkey'];
|
||||
$pubkey = $fcontact['pubkey'] ?? '';
|
||||
} else {
|
||||
$pubkey = '';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue