mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
quick fix for timezone settings
This commit is contained in:
parent
87937e3b79
commit
a98f820c4c
@ -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->f("cal_owner"),__LINE__,__FILE__);
|
||||
$db2->query("SELECT preference_value FROM preferences WHERE preference_name='tz_offset' AND preference_appname='common' AND preference_owner=".$phpgw->db->f("cal_owner"),__LINE__,__FILE__);
|
||||
$db2->next_record();
|
||||
$tz = $db2->f("preference_value");
|
||||
$datetime = $phpgw->db->f("cal_datetime") + ((60*60) * $tz);
|
||||
|
Loading…
Reference in New Issue
Block a user