summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
Diffstat (limited to 'web/lib')
-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 ";
}
}