diff --git a/src/applications/herald/engine/HeraldEngine.php b/src/applications/herald/engine/HeraldEngine.php index 739e83e4e8..d853e3eb9a 100644 --- a/src/applications/herald/engine/HeraldEngine.php +++ b/src/applications/herald/engine/HeraldEngine.php @@ -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); } } }