X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Flocaltime.php;h=f68c3fba509600f621469f5be3a5b2c8b64dab0e;hb=66bf39216b890a0b89f9bef537204a5e637ac8b1;hp=b10f1571a0e162ea3e40468dcf6c90751455526f;hpb=dad58e0f6fdff5e1ff8a002bb31119a38f08268b;p=friendica.git diff --git a/mod/localtime.php b/mod/localtime.php index b10f1571a0..f68c3fba50 100644 --- a/mod/localtime.php +++ b/mod/localtime.php @@ -30,7 +30,7 @@ function localtime_content(App $a) $t = 'now'; } - $o .= '

' . L10n::t('Time Conversion') . '

'; + $o = '

' . L10n::t('Time Conversion') . '

'; $o .= '

' . L10n::t('Friendica provides this service for sharing events with other networks and friends in unknown timezones.') . '

'; @@ -42,7 +42,7 @@ function localtime_content(App $a) $o .= '

' . L10n::t('Current timezone: %s', $_REQUEST['timezone']) . '

'; } - if (x($a->data, 'mod-localtime')) { + if (!empty($a->data['mod-localtime'])) { $o .= '

' . L10n::t('Converted localtime: %s', $a->data['mod-localtime']) . '

'; }