X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fevents.php;h=85976f8f878a2130f60506e22b2d90c02cd3b1b3;hb=a69e128fe4d202296582f3810239ebc4635d8b6a;hp=1feab61d5baeb2c32a1515ac8587e4f53d2ce4ef;hpb=befc2af5043a3afde251721c0d27df695db1bb7e;p=friendica.git diff --git a/mod/events.php b/mod/events.php index 1feab61d5b..85976f8f87 100644 --- a/mod/events.php +++ b/mod/events.php @@ -489,7 +489,7 @@ function events_content(App $a) $fdt = $orig_event['finish'] ?? 'now'; $tz = date_default_timezone_get(); - if (!empty($orig_event)) { + if (isset($orig_event['adjust'])) { $tz = ($orig_event['adjust'] ? date_default_timezone_get() : 'UTC'); }