From 3f6e109ede4c6190f46569a0c5df7bde2efe0353 Mon Sep 17 00:00:00 2001 From: Roland Hieber Date: Sat, 28 Feb 2009 09:31:05 +0100 Subject: [PATCH] only hidden messages were shown to non-admin users in erErrorReportManager::readFromSQL() --- inc/class_erErrorReportManager.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/class_erErrorReportManager.inc b/inc/class_erErrorReportManager.inc index 4e3a127..cf15e03 100644 --- a/inc/class_erErrorReportManager.inc +++ b/inc/class_erErrorReportManager.inc @@ -264,7 +264,7 @@ class erErrorReportManager { } else { $strWhereClause = "WHERE ".((trim($strWhere) == "") ? "" : "$strWhere AND ").sprintf("((er_act = '%s') or (er_hidden IS NULL OR ". - " er_hidden))", $_SESSION["act"]); + " NOT er_hidden))", $_SESSION["act"]); } $strSortClause = $this->buildOrderByClause($arcSort); -- 2.20.1