From 622f01935decde9a3d00db1e9a119ca8bc45ac1a Mon Sep 17 00:00:00 2001 From: jengo Date: Wed, 4 Oct 2000 21:25:22 +0000 Subject: [PATCH] Cleaned up fix for calendar --- calendar/edit_entry_handler.php | 12 ++---------- doc/CHANGELOG | 1 + 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/calendar/edit_entry_handler.php b/calendar/edit_entry_handler.php index 7e8874b26a..1a5422f239 100755 --- a/calendar/edit_entry_handler.php +++ b/calendar/edit_entry_handler.php @@ -168,17 +168,9 @@ if (! $error) { while ($participant = each($participants)) { -// for ($i = 0; $i < count($participants); $i++) { - // Rewrite - $sql = "INSERT INTO webcal_entry_user (cal_id,cal_login,cal_status ) " - . "VALUES ($id, '" . $participant[1] . "', 'A')"; - $phpgw->db->query($sql); + $phpgw->db->query("INSERT INTO webcal_entry_user (cal_id,cal_login,cal_status ) " + . "VALUES ($id, '" . $participant[1] . "', 'A')"); } - -// if (count($participants) == 0) -// $phpgw->db->query("insert into webcal_entry_user (cal_id,cal_login,cal_status" -// . ") values ($id,'" . $phpgw_info["user"]["userid"] . "','A' )"); -// } if (strlen($rpt_type) || ! strcmp($rpt_type,'none') == 0) { // clearly, we want to delete the old repeats, before inserting new... diff --git a/doc/CHANGELOG b/doc/CHANGELOG index 7453a28f7b..c84e1112af 100755 --- a/doc/CHANGELOG +++ b/doc/CHANGELOG @@ -5,6 +5,7 @@ - Fixed email/folders.php not showing the number of messages in the INBOX. - Fixed messages that where being passed around in the headlines admin section. - Fixed setup script not working properly with certain version of MySQL. + - Fixed the participants list in the calendar. [0.9.1] - Fixed a few missing variables with templates. - editing a product in the inventory program now forwards you back to the category