Better fix
authorx2003bruneau <x2003bruneau@9869982d-c50d-0410-be91-f2a2ec7c7c7b>
Sun, 14 Jan 2007 21:08:08 +0000 (21:08 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Fri, 4 Jan 2008 23:35:19 +0000 (00:35 +0100)
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@170 9869982d-c50d-0410-be91-f2a2ec7c7c7b

banana/mbox.inc.php

index f14fbee..7d6196b 100644 (file)
@@ -444,7 +444,11 @@ class BananaMBox implements BananaProtocoleInterface
             }
             if ($id != $this->current_id || !$this->at_beginning) {
                 if (!$this->goTo($id)) {
-                    break;
+                    if (count($ids)) {
+                        continue;
+                    } else {
+                        break;
+                    }
                 }
             }
             $beginning = ftell($this->file);