mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Don't include community packages when showing unsafe.
This commit is contained in:
parent
ea65609887
commit
500f44abd9
1 changed files with 2 additions and 2 deletions
|
@ -970,10 +970,10 @@ function pkg_search_page($SID="") {
|
||||||
# Unflagged Safe
|
# Unflagged Safe
|
||||||
if ($_REQUEST["PaS"] == "us")
|
if ($_REQUEST["PaS"] == "us")
|
||||||
if (!$has_where) {
|
if (!$has_where) {
|
||||||
$q.= "WHERE Safe = 0 ";
|
$q.= "WHERE Safe = 0 AND LocationID != 3 ";
|
||||||
$has_where = 1;
|
$has_where = 1;
|
||||||
} else {
|
} else {
|
||||||
$q.= "AND Safe = 0 ";
|
$q.= "AND Safe = 0 AND LocationID != 3 ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue