using null variable in twitter_status_id()

This commit is contained in:
Evan Prodromou 2010-09-05 00:45:45 -04:00
parent a5554bc11e
commit 5944fe57e6

View 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 {