Fixed a possible NULL value (not valid, at least empty string)
This commit is contained in:
parent
f8ed028013
commit
95ac2aa54b
|
@ -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 New Issue
Block a user