Signed-off-by: Lukas Fleischer <[email protected]>
---
 web/lib/pkgfuncs.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/lib/pkgfuncs.inc.php b/web/lib/pkgfuncs.inc.php
index f5eb11d..76fed89 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'])) {
-- 
1.9.1

Reply via email to