From 949fd1e8bf0509b41854f7e7e243935d6826f1ba Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Fri, 3 May 2019 06:01:01 +0200 Subject: [PATCH] Fixes undefined variable --- src/Model/Contact.php | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.5