]> git.mxchange.org Git - friendica-addons.git/commitdiff
statusnet/twitter: Post were fetched at the first fetch because of a misspelled varia...
authorMichael Vogel <icarus@dabo.de>
Mon, 7 Jan 2013 23:50:59 +0000 (00:50 +0100)
committerMichael Vogel <icarus@dabo.de>
Mon, 7 Jan 2013 23:50:59 +0000 (00:50 +0100)
statusnet/statusnet.php
twitter/twitter.php

index d5700710a93b979a5fd125a87f47be238d45f75d..f3678c805b6b157f83a531db2a8779f81b7b93ac 100755 (executable)
@@ -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))
index b9cb31467cd2d46c24a0496ca7bac1f27b080820..88cf38588e3532a707180639e83b31095cadd870 100755 (executable)
@@ -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)) {