mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:04:53 +01:00
quick fix for timezone settings
This commit is contained in:
parent
bf040328ed
commit
87937e3b79
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user