diff --git a/plugins/TwitterBridge/twitter.php b/plugins/TwitterBridge/twitter.php index 4084633543..90b0f0f14f 100644 --- a/plugins/TwitterBridge/twitter.php +++ b/plugins/TwitterBridge/twitter.php @@ -177,7 +177,7 @@ function retweet_notice($flink, $notice) function twitter_status_id($notice) { - $n2s = Notice_to_status::staticGet('notice_id', $id); + $n2s = Notice_to_status::staticGet('notice_id', $notice->id); if (empty($n2s)) { return null; } else {