Don't include community packages when showing unsafe.

This commit is contained in:
swiergot 2007-02-22 14:18:42 +00:00
parent ea65609887
commit 500f44abd9

View file

@ -970,10 +970,10 @@ function pkg_search_page($SID="") {
# Unflagged Safe
if ($_REQUEST["PaS"] == "us")
if (!$has_where) {
$q.= "WHERE Safe = 0 ";
$q.= "WHERE Safe = 0 AND LocationID != 3 ";
$has_where = 1;
} else {
$q.= "AND Safe = 0 ";
$q.= "AND Safe = 0 AND LocationID != 3 ";
}
}