summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorswiergot <swiergot>2007-02-22 15:18:42 +0100
committerswiergot <swiergot>2007-02-22 15:18:42 +0100
commit500f44abd911f02f926b3ffdcb9b93ec10024c33 (patch)
tree4ece70fe3c4e285558b7cb19401b82b42092ac0d
parentea6560988731c9a6e6438a96e29c1fc7d8d26808 (diff)
downloadaur-500f44abd911f02f926b3ffdcb9b93ec10024c33.tar.gz
aur-500f44abd911f02f926b3ffdcb9b93ec10024c33.tar.xz
Don't include community packages when showing unsafe.
-rw-r--r--web/lib/pkgfuncs.inc4
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 ";
}
}