Fix Undefined index: timezone in Protocol\Diaspora
This commit is contained in:
parent
2b1d15de87
commit
cb854b8b10
|
@ -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 New Issue
Block a user