Fix Undefined index: timezone in Protocol\Diaspora
This commit is contained in:
parent
2b1d15de87
commit
cb854b8b10
1 changed files with 2 additions and 5 deletions
|
@ -3430,12 +3430,9 @@ class Diaspora
|
|||
/// @todo - establish "all day" events in Friendica
|
||||
$eventdata["all_day"] = "false";
|
||||
|
||||
if (!$event['adjust']) {
|
||||
$eventdata['timezone'] = 'UTC';
|
||||
if (!$event['adjust'] && $user['timezone']) {
|
||||
$eventdata['timezone'] = $user['timezone'];
|
||||
|
||||
if ($eventdata['timezone'] == "") {
|
||||
$eventdata['timezone'] = 'UTC';
|
||||
}
|
||||
}
|
||||
|
||||
if ($event['start']) {
|
||||
|
|
Loading…
Reference in a new issue