Commit a69499df authored by David Morley's avatar David Morley

if adminrating 0 hide also, for pistos

parent 4c61a197
......@@ -26,7 +26,7 @@ $tt=0;
if ($_GET['hidden'] == "true") {
$sql = "SELECT * FROM pods WHERE hidden <> 'no' ORDER BY Hgitdate DESC, uptimelast7 DESC";
} else {
$sql = "SELECT * FROM pods WHERE hidden <> 'yes' ORDER BY Hgitdate DESC, uptimelast7 DESC";
$sql = "SELECT * FROM pods WHERE hidden <> 'yes' OR adminrating <> 0 ORDER BY Hgitdate DESC, uptimelast7 DESC";
}
$result = pg_query($dbh, $sql);
if (!$result) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment