Avoid a warning
This commit is contained in:
parent
966043712f
commit
379a1a52e0
1 changed files with 1 additions and 1 deletions
|
@ -548,7 +548,7 @@ class Notifier
|
||||||
private static function skipDFRN($contact, $item, $cmd)
|
private static function skipDFRN($contact, $item, $cmd)
|
||||||
{
|
{
|
||||||
// Don't skip when author or owner don't have AP profiles
|
// Don't skip when author or owner don't have AP profiles
|
||||||
if (empty(APContact::getByURL($item['author-link'], false)) || empty(APContact::getByURL($item['owner-link'], false))) {
|
if ((!empty($item['author-link']) && empty(APContact::getByURL($item['author-link'], false))) || (!empty($item['owner-link']) && empty(APContact::getByURL($item['owner-link'], false)))) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue