From c02522fed6f33e1e306d5c5b4a8c1136989af87d Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Mon, 28 Dec 2015 23:39:27 -0500 Subject: [PATCH] Bug: 14196 Fix displaying tab filters in Kolab driver. Signed-off-by: Michael J Rubinsky --- nag/lib/Driver/Kolab.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nag/lib/Driver/Kolab.php b/nag/lib/Driver/Kolab.php index 2afe205ba75..a6d3705ff05 100644 --- a/nag/lib/Driver/Kolab.php +++ b/nag/lib/Driver/Kolab.php @@ -478,7 +478,7 @@ public function retrieve($completed = Nag::VIEW_ALL) switch ($completed) { case Nag::VIEW_INCOMPLETE: if ($complete) { - continue; + continue 2; } if ($start && $t->recurs() && ($completions = $t->recurrence->getCompletions())) { @@ -494,18 +494,18 @@ public function retrieve($completed = Nag::VIEW_ALL) ->nextRecurrence($lastCompletion) ->timestamp(); if ($start > $_SERVER['REQUEST_TIME']) { - continue; + continue 2; } } break; case Nag::VIEW_COMPLETE: if (!$complete) { - continue; + continue 2; } break; case Nag::VIEW_FUTURE: if ($complete || $start == 0) { - continue; + continue 2; } if ($start && $t->recurs() && ($completions = $t->recurrence->getCompletions())) { @@ -521,13 +521,13 @@ public function retrieve($completed = Nag::VIEW_ALL) ->nextRecurrence($lastCompletion) ->timestamp(); if ($start < $_SERVER['REQUEST_TIME']) { - continue; + continue 2; } } break; case Nag::VIEW_FUTURE_INCOMPLETE: if ($complete) { - continue; + continue 2; } break; }