"fixed problem reported in bug #2202 and on the devel list: Database Error when modifying the time of a calendar event

wrong SQL (UPDATE with ORDER BY) was introduce in SyncML-1.2 patch, no idea what the idea behind was ..."
This commit is contained in:
Ralf Becker 2009-08-09 07:51:27 +00:00
parent 0a1a7f4637
commit da981bb02f

View File

@ -752,7 +752,7 @@ ORDER BY cal_user_type, cal_usre_id
{
// move the recur-date of the participants
$this->db->query("UPDATE $this->user_table SET cal_recur_date=cal_recur_date+$move_start WHERE $where AND cal_recur_date ".
((int)$change_since ? '>= '.(int)$change_since : '!= 0') . " ORDER BY cal_recur_date DESC",__LINE__,__FILE__);
((int)$change_since ? '>= '.(int)$change_since : '!= 0'),__LINE__,__FILE__);
}
if ($move_start || $move_end)
{