X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fuimport.php;h=dfeab8a2f6e4d45988b567ab86c8ea8056d3e9d3;hb=458981f75cff2427976c9abc787eadf8e9e6267f;hp=5df919d7d6d9f880ffd02a0db9a56fbb7913a893;hpb=ea4e772b1e776876c40e30c67f30e6c35cf7d3aa;p=friendica.git diff --git a/mod/uimport.php b/mod/uimport.php index 5df919d7d6..dfeab8a2f6 100644 --- a/mod/uimport.php +++ b/mod/uimport.php @@ -42,10 +42,10 @@ 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']); }