diff options
author | Sarven Capadisli <csarven@controlyourself.ca> | 2009-05-20 23:13:10 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@controlyourself.ca> | 2009-05-20 23:13:10 +0000 |
commit | 6fb36edea3b5d978442b76c4bfef51e098be6036 (patch) | |
tree | bd327814e9f563d6ac0c01ab3fd3d02d45665827 | |
parent | b561962b59e8194e6622f87394e7b8565d78c182 (diff) | |
parent | 1a5ef90ea0fbdfa01c47671980402d0264839f27 (diff) |
Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x
-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')); |