diff --git a/calendar/edit_entry.php b/calendar/edit_entry.php index e7b06a7202..4aa9d33ea2 100755 --- a/calendar/edit_entry.php +++ b/calendar/edit_entry.php @@ -56,8 +56,7 @@ if ($id > 0) { while ($phpgw->db->next_record()) { $participants[$phpgw->db->f("cal_login")] = 1; } - $phpgw->db->query("select * from webcal_entry_repeats where cal_id='$id" - . "'"); + $phpgw->db->query("select * from webcal_entry_repeats where cal_id=$id"); $phpgw->db->next_record(); $rpt_type = $phpgw->db->f("cal_type"); @@ -108,9 +107,9 @@ function validate_and_submit() { } - + -