diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-05-21 12:40:52 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-05-21 12:40:52 -0400 |
commit | f25990cf8ed8683d53e9460fb63600a7bdfd10a3 (patch) | |
tree | 2dc6d49669b13b889e36b47bf34780cf19a88ea2 /scripts/twitterstatusfetcher.php | |
parent | 966f1c6169a2d1202e1b69860b975792ca6b9149 (diff) | |
parent | 07de94ca99c5541b26da9292c4eaa3d80bee3dbe (diff) |
Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x
Diffstat (limited to 'scripts/twitterstatusfetcher.php')
-rwxr-xr-x | scripts/twitterstatusfetcher.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/twitterstatusfetcher.php b/scripts/twitterstatusfetcher.php index 9dfadc760..a61ce1b0d 100755 --- a/scripts/twitterstatusfetcher.php +++ b/scripts/twitterstatusfetcher.php @@ -214,7 +214,8 @@ class TwitterStatusFetcher extends Daemon return; } - foreach ($timeline as $status) { + // Reverse to preserve order + foreach (array_reverse($timeline) as $status) { // Hacktastic: filter out stuff coming from this Laconica $source = mb_strtolower(common_config('integration', 'source')); |