Fixes undefined variable

This commit is contained in:
Michael Vogel 2019-05-03 06:01:01 +02:00
parent 9941c33123
commit 949fd1e8bf

View file

@ -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;