summaryrefslogtreecommitdiff
path: root/src/Bridge.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Bridge.php')
-rw-r--r--src/Bridge.php2
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);