From: Michael Vogel Date: Fri, 3 May 2019 04:01:01 +0000 (+0200) Subject: Fixes undefined variable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=949fd1e8bf0509b41854f7e7e243935d6826f1ba;p=friendica.git Fixes undefined variable --- diff --git a/src/Model/Contact.php b/src/Model/Contact.php index 159b888b5e..5a5701f09a 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -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;