From a09c6849ef47a2008722e073490fafe178d70cef Mon Sep 17 00:00:00 2001 From: notfire Date: Wed, 12 Mar 2025 09:26:09 -0400 Subject: [PATCH] fix unread private messages not showing up in admin panel --- admin/all.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/all.php b/admin/all.php index df9de2f..8755f29 100644 --- a/admin/all.php +++ b/admin/all.php @@ -76,7 +76,7 @@ foreach (array_reverse($rows) as $i){ echo("

unread private ({$totalPriv})

"); foreach (array_reverse($rows) as $i){ - if ($i["ispublic"] === "f" && $i["isprivread"] === "f") { + if ($i["ispublic"] === "f" && $i["isprivread"] !== "t") { echo("
"); if ($i["iscwed"] === "t") { echo("
cw: " . htmlspecialchars($i["cw"]) . "");