summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-04-11 13:36:19 +0000
committeruckelman <uckelman@nomic.net>2010-04-11 13:36:19 +0000
commit29b42706b95f767cddcc8e7620a0a7070f4d289b (patch)
tree6bfd84c5a4fcde291fc6b21739f1c22da01cada6 /src
parent6cd33bc7a7d386db295db288e70b78b5f27d6933 (diff)
Added missing space in SQL. Fixed test.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6643 67b53d14-2c14-4ace-a08f-0dab2b34000c
Diffstat (limited to 'src')
-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);