]> git.mxchange.org Git - friendica.git/commitdiff
Avoid a notice
authorMichael <heluecht@pirati.ca>
Sat, 21 Sep 2019 13:00:53 +0000 (13:00 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 21 Sep 2019 13:00:53 +0000 (13:00 +0000)
src/Worker/Notifier.php

index 8755a59b5463ae130a64024157056b94acf07de0..cb2d83af6d940e6c4c1380bbe0001bfccbcc3584 100644 (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;
                }