only hidden messages were shown to non-admin users in erErrorReportManager::readFromSQL()
authorRoland Hieber <devnull@localhost>
Sat, 28 Feb 2009 08:31:05 +0000 (09:31 +0100)
committerRoland Hieber <devnull@localhost>
Sat, 28 Feb 2009 08:31:05 +0000 (09:31 +0100)
inc/class_erErrorReportManager.inc

index 4e3a127..cf15e03 100644 (file)
@@ -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);
This page took 0.027087 seconds and 4 git commands to generate.