using null variable in twitter_status_id()

This commit is contained in:
Evan Prodromou 2010-09-05 00:45:45 -04:00
parent a29356a030
commit 26864d1453

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 {