fix unread private messages not showing up in admin panel

This commit is contained in:
notfire 2025-03-12 09:26:09 -04:00
parent f41a3dcb13
commit a09c6849ef
Signed by: notfire
GPG key ID: 3AFDACAAB4E56B16

View file

@ -76,7 +76,7 @@ foreach (array_reverse($rows) as $i){
echo("<h3 class=\"sect\">unread private ({$totalPriv})</h3>");
foreach (array_reverse($rows) as $i){
if ($i["ispublic"] === "f" && $i["isprivread"] === "f") {
if ($i["ispublic"] === "f" && $i["isprivread"] !== "t") {
echo("<div class=\"question\">");
if ($i["iscwed"] === "t") {
echo("<details><summary>cw: " . htmlspecialchars($i["cw"]) . "</summary><span class=\"cwfiller\"></span>");