From: Evan Prodromou Date: Sun, 5 Sep 2010 03:55:53 +0000 (-0400) Subject: SQL syntax error when initializing notice_to_status table X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=299da9e4624000f5455ffb494cb22714ca57ade7;p=quix0rs-gnu-social.git SQL syntax error when initializing notice_to_status table --- diff --git a/plugins/TwitterBridge/TwitterBridgePlugin.php b/plugins/TwitterBridge/TwitterBridgePlugin.php index b0f99c1798..a13c15cc78 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)) {