X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Flocaltime.php;h=f68c3fba509600f621469f5be3a5b2c8b64dab0e;hb=41663c7592abe55a958632c3a48265e0a8544d2b;hp=9a754ac80d9edddc07892840ea897b31b9a43849;hpb=724a58e79a664b65a3b68a4e3eb7fc88e1958af5;p=friendica.git diff --git a/mod/localtime.php b/mod/localtime.php index 9a754ac80d..f68c3fba50 100644 --- a/mod/localtime.php +++ b/mod/localtime.php @@ -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']) . '

'; }