1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-02 19:01:03 +01:00

Fix a bad query in LeaseQuery

Summary: Fixes T3610. This got un-scoped at some point, and is only used in Drydock so it escaped notice.

Test Plan: Ran `bin/drydock lease --type host` without hitting an exception about incorrect query construction.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T3610

Differential Revision: https://secure.phabricator.com/D6552
This commit is contained in:
epriestley 2013-07-24 11:32:03 -07:00
parent ccbb8afe97
commit af321df3c0

View file

@ -139,7 +139,7 @@ final class PhabricatorWorkerLeaseQuery extends PhabricatorQuery {
if ($this->ids) {
$where[] = qsprintf(
$conn_w,
'task.id IN (%Ld)',
'id IN (%Ld)',
$this->ids);
}