diff options
author | swiergot <swiergot> | 2007-02-22 14:18:42 +0000 |
---|---|---|
committer | swiergot <swiergot> | 2007-02-22 14:18:42 +0000 |
commit | 500f44abd911f02f926b3ffdcb9b93ec10024c33 (patch) | |
tree | 4ece70fe3c4e285558b7cb19401b82b42092ac0d /web/lib/pkgfuncs.inc | |
parent | ea6560988731c9a6e6438a96e29c1fc7d8d26808 (diff) |
Don't include community packages when showing unsafe.
Diffstat (limited to 'web/lib/pkgfuncs.inc')
-rw-r--r-- | web/lib/pkgfuncs.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index aba92f1..8ff21d6 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -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 "; } } |