From 29b42706b95f767cddcc8e7620a0a7070f4d289b Mon Sep 17 00:00:00 2001 From: uckelman Date: Sun, 11 Apr 2010 13:36:19 +0000 Subject: 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 --- src/Bridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3