From: Evan Prodromou Date: Sun, 5 Sep 2010 04:45:45 +0000 (-0400) Subject: using null variable in twitter_status_id() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5944fe57e6e79f635a5fe20b5086aae105797786;p=quix0rs-gnu-social.git using null variable in twitter_status_id() --- 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 {