]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
SQL syntax error when initializing notice_to_status table
authorEvan Prodromou <evan@status.net>
Sun, 5 Sep 2010 03:55:53 +0000 (23:55 -0400)
committerEvan Prodromou <evan@status.net>
Tue, 7 Sep 2010 08:00:58 +0000 (04:00 -0400)
plugins/TwitterBridge/TwitterBridgePlugin.php

index b0f99c17983a9637de7dac4347a0c243e960efbb..a13c15cc783258395b24ea111e31a50bf285b569 100644 (file)
@@ -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)) {