From ae53106726c55f64e5f153d6f6c20fb9b123cfbc Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 21 Aug 2006 10:47:35 +0000 Subject: [PATCH] Patch from christian.binder-AT-freilassing.de: multiple exceptions not working --- calendar/inc/class.bocal.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.bocal.inc.php b/calendar/inc/class.bocal.inc.php index 99b5001418..4787b3acb6 100644 --- a/calendar/inc/class.bocal.inc.php +++ b/calendar/inc/class.bocal.inc.php @@ -693,7 +693,7 @@ class bocal { foreach((array)$event['recur_exception'] as $exception_ts) { - $have_exception = $search_date_ymd == (int)$this->date2string($exception_ts); + if (($have_exception = $search_date_ymd == (int)$this->date2string($exception_ts))) break; } } if ($this->debug && ((int) $this->debug > 3 || $this->debug == 'insert_all_repetions' || $this->debug == 'check_move_horizont' || $this->debug == 'insert_all_repitions'))