From 87937e3b79e907c2a9c6d2db64fa1fa47e0a0b94 Mon Sep 17 00:00:00 2001 From: skeeter Date: Mon, 4 Dec 2000 01:23:29 +0000 Subject: [PATCH] quick fix for timezone settings --- calendar/q_fix.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/q_fix.php b/calendar/q_fix.php index 3572f6e5a1..658135c661 100755 --- a/calendar/q_fix.php +++ b/calendar/q_fix.php @@ -22,7 +22,7 @@ $phpgw->db->query("SELECT cal_datetime, cal_mdatetime, cal_id, cal_owner FROM calendar_entry ORDER BY cal_id",__LINE__,__FILE__); if($phpgw->db->num_rows()) { while($phpgw->db->next_record()) { - $db2->query("SELECT preference_value FROM preferences WHERE preference_name='tz_offset' AND preference_appname='common' AND preference_owner=".$db->("cal_owner"),__LINE__,__FILE__); + $db2->query("SELECT preference_value FROM preferences WHERE preference_name='tz_offset' AND preference_appname='common' AND preference_owner=".$db->f("cal_owner"),__LINE__,__FILE__); $db2->next_record(); $tz = $db2->f("preference_value"); $datetime = $phpgw->db->f("cal_datetime") + ((60*60) * $tz);