summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2011-02-09 08:57:22 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2011-02-09 08:58:44 +0100
commit0e0e80aeea9396647041061d1104d0001bd1cc5a (patch)
tree558871ac367531956abb0ebb42621c4242b135ac /web/lib
parent6d737c468454823808d609cfb3b3dc27b0c2ddb3 (diff)
downloadaur-0e0e80aeea9396647041061d1104d0001bd1cc5a.tar.gz
aur-0e0e80aeea9396647041061d1104d0001bd1cc5a.tar.xz
Minor bugfix in pkg_change_category().
This cleans up some broken MySQL query introduced by commit 57a5cbfd. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/pkgfuncs.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc
index 997c4532..28211f93 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);