From d24c84495092402cce9c35a820463dad55636772 Mon Sep 17 00:00:00 2001 From: Matthew Exon Date: Mon, 26 Apr 2021 20:58:06 +0200 Subject: [PATCH] fix another stupid mistake --- mailstream/mailstream.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailstream/mailstream.php b/mailstream/mailstream.php index 1753b6608..964f82a84 100644 --- a/mailstream/mailstream.php +++ b/mailstream/mailstream.php @@ -332,7 +332,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"); }