summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/pkgfuncs.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/pkgfuncs.inc.php b/web/lib/pkgfuncs.inc.php
index f5eb11d6..76fed89a 100644
--- a/web/lib/pkgfuncs.inc.php
+++ b/web/lib/pkgfuncs.inc.php
@@ -422,7 +422,7 @@ function pkg_search_page($SID="") {
* variable values more sensible.
*/
if (isset($_GET["C"]) && intval($_GET["C"])) {
- $q_where .= "AND Packages.CategoryID = ".intval($_GET["C"])." ";
+ $q_where .= "AND PackageBases.CategoryID = ".intval($_GET["C"])." ";
}
if (isset($_GET['K'])) {