using null variable in twitter_status_id()
This commit is contained in:
parent
a5554bc11e
commit
5944fe57e6
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user