]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
using null variable in twitter_status_id()
authorEvan Prodromou <evan@status.net>
Sun, 5 Sep 2010 04:45:45 +0000 (00:45 -0400)
committerEvan Prodromou <evan@status.net>
Sun, 5 Sep 2010 04:45:45 +0000 (00:45 -0400)
plugins/TwitterBridge/twitter.php

index 4084633543d02b5d0f1d5915f9d0bbf3418ef5cf..90b0f0f14f4966300fd06f16922e3a5e267818a7 100644 (file)
@@ -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 {