1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-23 05:01:13 +01:00

Fix a stray qsprintf() in the Herald rules engine when recording rule application to objects

Summary: Ref T13217. See PHI1006.

Test Plan: Touched an object with associated Herald rules.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13217

Differential Revision: https://secure.phabricator.com/D19872
This commit is contained in:
epriestley 2018-12-12 10:57:21 -08:00
parent 265f1f9c4d
commit 2814d34036

View file

@ -243,9 +243,9 @@ final class HeraldEngine extends Phobject {
}
queryfx(
$conn_w,
'INSERT IGNORE INTO %T (phid, ruleID) VALUES %Q',
'INSERT IGNORE INTO %T (phid, ruleID) VALUES %LQ',
HeraldRule::TABLE_RULE_APPLIED,
implode(', ', $sql));
$sql);
}
}
}