From: Michael Vogel Date: Mon, 7 Jan 2013 23:50:59 +0000 (+0100) Subject: statusnet/twitter: Post were fetched at the first fetch because of a misspelled varia... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7019b1056a1c749803c9b212468b941a58479ba5;p=friendica-addons.git statusnet/twitter: Post were fetched at the first fetch because of a misspelled variable ... --- diff --git a/statusnet/statusnet.php b/statusnet/statusnet.php index d5700710..f3678c80 100755 --- a/statusnet/statusnet.php +++ b/statusnet/statusnet.php @@ -812,7 +812,7 @@ function statusnet_fetchtimeline($a, $uid) { if ($post->id > $lastid) $lastid = $post->id; - if ($firsttime) + if ($first_time) continue; if (is_object($post->retweeted_status)) diff --git a/twitter/twitter.php b/twitter/twitter.php index b9cb3146..88cf3858 100755 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -616,7 +616,7 @@ function twitter_fetchtimeline($a, $uid) { if ($post->id_str > $lastid) $lastid = $post->id_str; - if ($firsttime) + if ($first_time) continue; if (!strpos($post->source, $application_name)) {