Fix searching for orphans with "$LANG != 'en'" (fixes FS#23252).

Regression introduced in commit ef8fab0c. Removed the strict check again
instead of wrapping it in __() to ensure search URLs are language
independent.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2011-03-12 19:54:31 +01:00
parent 9b112a56d0
commit bd36412321

View file

@ -487,7 +487,7 @@ function pkg_search_page($SID="") {
} }
} }
if (isset($_GET["do_Orphans"]) && $_GET["do_Orphans"] == 'Orphans') { if (isset($_GET["do_Orphans"])) {
$q_where .= "AND MaintainerUID IS NULL "; $q_where .= "AND MaintainerUID IS NULL ";
} }