From ec9418b2626f343614b3307902551ea68307002c Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 3 Apr 2020 22:01:02 +0200 Subject: Revert "set timezone iconfig a little earlier in the process so that it will be included in the object" This reverts commit 6cfaa5cba32eb1e7f2b4a0ba6bb281ebd610a54b --- include/event.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include') diff --git a/include/event.php b/include/event.php index f455a0dbf..fbc46100f 100644 --- a/include/event.php +++ b/include/event.php @@ -1253,8 +1253,6 @@ function event_store_item($arr, $event) { else $item_arr['plink'] = z_root() . '/display/' . gen_link_id($item_arr['mid']); - set_iconfig($item_arr, 'event', 'timezone', $arr['timezone'], true); - $x = q("select * from xchan where xchan_hash = '%s' limit 1", dbesc($arr['event_xchan']) ); @@ -1290,7 +1288,7 @@ function event_store_item($arr, $event) { // activities refer to the item message_id as the parent. set_iconfig($item_arr, 'system','event_id',$event['event_hash'],true); - //set_iconfig($item_arr, 'event','timezone',$arr['timezone'],true); + set_iconfig($item_arr, 'event','timezone',$arr['timezone'],true); $res = item_store($item_arr); -- cgit v1.2.3