summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-09-04 23:55:53 -0400
committerEvan Prodromou <evan@status.net>2010-09-04 23:55:53 -0400
commitf8a4a8f5bad2102c672f691a998fb15eef73f334 (patch)
tree00a3798dbf2381c254589c0cbee01c99ac97225f
parent3e8569d99f6283ba5cdf52d4f58e616ef1e2dd4a (diff)
SQL syntax error when initializing notice_to_status table
-rw-r--r--plugins/TwitterBridge/TwitterBridgePlugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TwitterBridge/TwitterBridgePlugin.php b/plugins/TwitterBridge/TwitterBridgePlugin.php
index b0f99c179..a13c15cc7 100644
--- a/plugins/TwitterBridge/TwitterBridgePlugin.php
+++ b/plugins/TwitterBridge/TwitterBridgePlugin.php
@@ -398,7 +398,7 @@ class TwitterBridgePlugin extends Plugin
'FROM notice LEFT JOIN notice_to_status ' .
'ON notice.id = notice_to_status.notice_id ' .
'WHERE notice.source = "twitter"' .
- 'AND notice_to_status.status_id = NULL');
+ 'AND notice_to_status.status_id IS NULL');
while ($n->fetch()) {
if (preg_match('#^http://twitter.com/[\w_.]+/status/(\d+)$#', $n->uri, $match)) {