X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fuimport.php;h=dfeab8a2f6e4d45988b567ab86c8ea8056d3e9d3;hb=1c58363696f3837d5deb882d6090bf1df2da4b0f;hp=2061d4552047c26f1693c144f986b1bf0476f304;hpb=91facd2d0a2869e2c26a5943d8afe1849d3891f8;p=friendica.git diff --git a/mod/uimport.php b/mod/uimport.php index 2061d45520..dfeab8a2f6 100644 --- a/mod/uimport.php +++ b/mod/uimport.php @@ -42,14 +42,14 @@ function uimport_content(App $a) } - if (x($_SESSION, 'theme')) { + if (!empty($_SESSION['theme'])) { unset($_SESSION['theme']); } - if (x($_SESSION, 'mobile-theme')) { + if (!empty($_SESSION['mobile-theme'])) { unset($_SESSION['mobile-theme']); } - $tpl = get_markup_template("uimport.tpl"); + $tpl = Renderer::getMarkupTemplate("uimport.tpl"); return Renderer::replaceMacros($tpl, [ '$regbutt' => L10n::t('Import'), '$import' => [