diff --git a/mailstream/mailstream.php b/mailstream/mailstream.php index 3121715d..8ad8c751 100644 --- a/mailstream/mailstream.php +++ b/mailstream/mailstream.php @@ -337,7 +337,7 @@ function mailstream_subject(array $item): string return DI::l10n()->t("Friendica post"); } $contact = $r[0]; - if (!DBA::isResult($rows)) { + if (!DBA::isResult($r)) { Logger::error('mailstream_subject no contact for item id ' . $item['id'] . ' plink ' . $item['plink'] . ' contact id ' . $item['contact-id'] . ' uid ' . $item['uid']); return DI::l10n()->t("Friendica post"); }