Fixes undefined variable
This commit is contained in:
parent
9941c33123
commit
949fd1e8bf
1 changed files with 2 additions and 0 deletions
|
@ -2119,6 +2119,8 @@ class Contact extends BaseObject
|
|||
|
||||
// send email notification to owner?
|
||||
} else {
|
||||
$protocol = self::getProtocol($url, $network);
|
||||
|
||||
if (DBA::exists('contact', ['nurl' => Strings::normaliseLink($url), 'uid' => $importer['uid'], 'pending' => true])) {
|
||||
Logger::log('ignoring duplicated connection request from pending contact ' . $url);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue