Commit 37417a63 authored by Manfred Kutas's avatar Manfred Kutas

ZP-1233 Get timezone from system if it's not set for a meeting request.

Released under the Affero GNU General Public License (AGPL) version 3.
parent ce01d813
...@@ -598,10 +598,12 @@ class MAPIProvider { ...@@ -598,10 +598,12 @@ class MAPIProvider {
} }
// Set Timezone // Set Timezone
if(isset($props[$meetingrequestproperties["timezonetag"]])) if (isset($props[$meetingrequestproperties["timezonetag"]])) {
$tz = $this->getTZFromMAPIBlob($props[$meetingrequestproperties["timezonetag"]]); $tz = $this->getTZFromMAPIBlob($props[$meetingrequestproperties["timezonetag"]]);
else }
$tz = $this->getGMTTZ(); else {
$tz = TimezoneUtil::GetFullTZ();
}
$message->meetingrequest->timezone = base64_encode(TimezoneUtil::GetSyncBlobFromTZ($tz)); $message->meetingrequest->timezone = base64_encode(TimezoneUtil::GetSyncBlobFromTZ($tz));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment