From 05fdfe28e5308494b8e51e68fd993763a4bd4121 Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Thu, 8 Jun 2006 03:33:16 +0000 Subject: [PATCH] removed the alarm fields when searching events --- calendar/inc/class.sifcalendar.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/calendar/inc/class.sifcalendar.inc.php b/calendar/inc/class.sifcalendar.inc.php index b5e7351355..850d711bd5 100644 --- a/calendar/inc/class.sifcalendar.inc.php +++ b/calendar/inc/class.sifcalendar.inc.php @@ -229,7 +229,7 @@ unset($event['end']); foreach($event as $key => $value) { - if (substr($key,0,6) != 'recur_') { + if (substr($key,0,6) != 'recur_' && substr($key,0,5) != 'alarm') { $search['query']['cal_'.$key] = $value; } else { #$search['query'][$key] = $value; @@ -286,7 +286,6 @@ $alarmData['offset'] = $alarm*60; $alarmData['all'] = 1; $alarmData['owner'] = $GLOBALS['egw_info']['user']['account_id']; - error_log(print_r($alarm, true)); $this->save_alarm($eventID, $alarmData); } }