Fixed a possible NULL value (not valid, at least empty string)
This commit is contained in:
@@ -985,7 +985,7 @@ class DFRN
|
|||||||
Logger::notice('Unable to find contact details for ' . $contact['id'] . ' - ' . $contact['addr']);
|
Logger::notice('Unable to find contact details for ' . $contact['id'] . ' - ' . $contact['addr']);
|
||||||
return -22;
|
return -22;
|
||||||
}
|
}
|
||||||
$pubkey = $fcontact['pubkey'];
|
$pubkey = $fcontact['pubkey'] ?? '';
|
||||||
} else {
|
} else {
|
||||||
$pubkey = '';
|
$pubkey = '';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user