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