diff options
Diffstat (limited to 'src/Bridge.php')
-rw-r--r-- | src/Bridge.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bridge.php b/src/Bridge.php index 9cbc64f..3b9b1b4 100644 --- a/src/Bridge.php +++ b/src/Bridge.php @@ -30,7 +30,7 @@ class Bridge { public function setPostId($messageId, $postId) { $sql = 'UPDATE posts SET ' . - 'post_id = ' . $postId . + 'post_id = ' . $postId . ' ' . 'WHERE message_id = ' . $this->db->quote($messageId); $count = $this->db->exec($sql); |