From a43f2041d3c4315dfc582a4aaff4e399f5453c89 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Thu, 15 May 2014 23:20:11 +0200 Subject: [PATCH] pump.io: Mirroring looked for the wrong date. Thanks to sazius for finding this. --- pumpio/pumpio.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pumpio/pumpio.php b/pumpio/pumpio.php index 367879e61..f39bfef95 100755 --- a/pumpio/pumpio.php +++ b/pumpio/pumpio.php @@ -678,11 +678,11 @@ function pumpio_fetchtimeline(&$a, $uid) { if (count($posts)) { foreach ($posts as $post) { - if ($post->generator->published <= $initiallastdate) + if ($post->published <= $initiallastdate) continue; - if ($lastdate < $post->generator->published) - $lastdate = $post->generator->published; + if ($lastdate < $post->published) + $lastdate = $post->published; if ($first_time) continue;