if ($contact['uid'] == 0 && local_user()) {
// Let's have a look if there is an established connection
- // between the puplic contact we have found and the local user.
+ // between the public contact we have found and the local user.
$contact = DBA::selectFirst('contact', $fields, ['nurl' => $contact['nurl'], 'uid' => local_user()]);
if (DBA::isResult($contact)) {