mirror of
https://github.com/friendica/friendica
synced 2024-12-24 02:00:15 +00:00
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?
|
// 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