diff options
author | swiergot <swiergot> | 2007-02-22 15:18:42 +0100 |
---|---|---|
committer | swiergot <swiergot> | 2007-02-22 15:18:42 +0100 |
commit | 500f44abd911f02f926b3ffdcb9b93ec10024c33 (patch) | |
tree | 4ece70fe3c4e285558b7cb19401b82b42092ac0d | |
parent | ea6560988731c9a6e6438a96e29c1fc7d8d26808 (diff) | |
download | aur-500f44abd911f02f926b3ffdcb9b93ec10024c33.tar.gz aur-500f44abd911f02f926b3ffdcb9b93ec10024c33.tar.xz |
Don't include community packages when showing unsafe.
-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 aba92f1a..8ff21d6f 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 "; } } |