From 500f44abd911f02f926b3ffdcb9b93ec10024c33 Mon Sep 17 00:00:00 2001 From: swiergot Date: Thu, 22 Feb 2007 14:18:42 +0000 Subject: Don't include community packages when showing unsafe. --- web/lib/pkgfuncs.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/lib') 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 "; } } -- cgit v1.2.3-70-g09d2