diff options
Diffstat (limited to 'aurweb')
-rwxr-xr-x | aurweb/git/serve.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aurweb/git/serve.py b/aurweb/git/serve.py index eea0c9c5..dfaddd13 100755 --- a/aurweb/git/serve.py +++ b/aurweb/git/serve.py @@ -192,7 +192,7 @@ def pkgreq_by_pkgbase(pkgbase_id, reqtype): "INNER JOIN RequestTypes ON " + "RequestTypes.ID = PackageRequests.ReqTypeID " + "WHERE PackageRequests.Status = 0 " + - "AND PackageRequests.PackageBaseID = ?" + + "AND PackageRequests.PackageBaseID = ? " + "AND RequestTypes.Name = ?", [pkgbase_id, reqtype]) return [row[0] for row in cur.fetchall()] |