From 0e0e80aeea9396647041061d1104d0001bd1cc5a Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Wed, 9 Feb 2011 08:57:22 +0100 Subject: Minor bugfix in pkg_change_category(). This cleans up some broken MySQL query introduced by commit 57a5cbfd. Signed-off-by: Lukas Fleischer --- web/lib/pkgfuncs.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web') diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index 997c453..28211f9 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -1000,7 +1000,7 @@ function pkg_change_category($atype) { # Verify package ownership $dbh = db_connect(); - $q = "SELECT Packages.MaintainerUID,"; + $q = "SELECT Packages.MaintainerUID "; $q.= "FROM Packages "; $q.= "WHERE Packages.ID = ".$pid; $result = db_query($q, $dbh); -- cgit v1.2.3-54-g00ecf