SQL syntax error when initializing notice_to_status table
This commit is contained in:
parent
3e8569d99f
commit
f8a4a8f5ba
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user