forked from extern/egroupware
fix sql error on update
This commit is contained in:
parent
83fd536408
commit
f9dd84adb5
@ -2310,8 +2310,8 @@ function calendar_upgrade14_1()
|
||||
{
|
||||
$GLOBALS['egw_setup']->db->query(
|
||||
"UPDATE egw_cal
|
||||
SET cal_reference=0,cal_etag=cal_etag+1,cal_modifier=0,cal_modified=".time().
|
||||
"WHERE cal_reference != 0 AND cal_id IN (SELECT cal_id FROM egw_cal_repeats)", __LINE__, __FILE__);
|
||||
SET cal_reference=0,cal_etag=cal_etag+1,cal_modifier=0,cal_modified=".time()."
|
||||
WHERE cal_reference != 0 AND cal_id IN (SELECT cal_id FROM egw_cal_repeats)", __LINE__, __FILE__);
|
||||
|
||||
foreach($GLOBALS['egw_setup']->db->query(
|
||||
"SELECT DISTINCT master.cal_id,egw_cal_user.cal_user_type,egw_cal_user.cal_user_id,'E' AS cal_status
|
||||
|
Loading…
Reference in New Issue
Block a user