From c5292f0cd7742b1cbcb8ef6c9438ef6eb1549244 Mon Sep 17 00:00:00 2001 From: uckelman Date: Tue, 13 Apr 2010 21:53:07 +0000 Subject: Don't need to quote post_id. git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6707 67b53d14-2c14-4ace-a08f-0dab2b34000c --- src/Bridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bridge.php b/src/Bridge.php index 8ea229a..8b04f03 100644 --- a/src/Bridge.php +++ b/src/Bridge.php @@ -27,7 +27,7 @@ class Bridge { throw_if_null($postId); $sql = 'SELECT message_id FROM posts ' . - 'WHERE post_id = ' . $this->db->quote($postId); + 'WHERE post_id = ' . $postId; $row = $this->get_exactly_one_row($sql); return $row ? $row['message_id'] : false; -- cgit v1.2.3