From 0588975e372f863aa2d74bbff0ac2b9778852431 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 23 Sep 2021 14:59:40 +0000 Subject: =?UTF-8?q?=C3=83fix=20wrong=20variable=20name=20and=20streamline?= =?UTF-8?q?=20icon=20with=20unseen=20notifications=20icon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zotlabs/Widget/Messages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs') diff --git a/Zotlabs/Widget/Messages.php b/Zotlabs/Widget/Messages.php index 1b6e6f914..22662a01d 100644 --- a/Zotlabs/Widget/Messages.php +++ b/Zotlabs/Widget/Messages.php @@ -211,7 +211,7 @@ class Messages { $summary = trim(strip_tags(bbcode($notice['msg']))); - if(strpos($summary, $notification['xname']) === 0) { + if(strpos($summary, $notice['xname']) === 0) { $summary = substr($summary, strlen($notice['xname']) + 1); } -- cgit v1.2.3