Avoid a notice

This commit is contained in:
Michael 2019-09-21 13:00:53 +00:00
parent c364a77d63
commit cf569425c6

View file

@ -569,7 +569,7 @@ class Notifier
private static function skipDFRN($contact, $item, $cmd)
{
// Use DFRN if we are on the same site
if (Contact::isLocal($contact['url'])) {
if (!empty($contact['url']) && Contact::isLocal($contact['url'])) {
return false;
}